plot error message - Error using tabular/plot Too many input arguments

8 ビュー (過去 30 日間)
Louis TERRATS
Louis TERRATS 2017 年 10 月 11 日
コメント済み: Louis TERRATS 2017 年 10 月 12 日
Matlab version : R2017a
I have a large table (about 25000 rows and 7 columns). I want to plot two columns which have the same number of rows (but both include some NaN values)
So I do :
figure
plot(data(:,3), data(:,6));
But this doesn't work and returns me this error message :
Error using tabular/plot Too many input arguments.
To help in finding a solution, I asked
which plot
built-in (C:\Program Files\MATLAB\R2017a\toolbox\matlab\graph2d\plot)
Thanks for help

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 10 月 12 日
plot(data{:,3}, data{:,6});
"There is no plot method for the 'table' class. Plot the variables in a table using dot or brace subscripting."

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by