MATLAB: Plotting Table, but “Too Many Input Arguments”

argumentsgraphinputMATLABplottable

Hi! I'm pretty new to Matlab and am just trying to plot two columns of an imported table onto a graph. The code I type is:
plot (filename (:,2) filename (:,11))
When I do this, this message shows up below:
"Error using tabular/plot
Too many input arguments."
What does this mean, and how can I fix it?

Best Answer

plot(filename{:,2},filename{:,11})
Related Question