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
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

サインインしてコメントする。

 採用された回答

madhan ravi
madhan ravi 2019 年 3 月 7 日

0 投票

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

製品

リリース

R2018b

質問済み:

2019 年 3 月 7 日

コメント済み:

2019 年 3 月 7 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by