Plotting Table, but "Too Many Input Arguments"
显示 更早的评论
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?
1 个评论
Stephen23
2019-3-7
As well as using a badly named variable, your code is missing a comma:
plot(filename(:,2),filename(:,11))
^ missing in your code
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!