I want to plot selected data from rows and columns
34 ビュー (過去 30 日間)
古いコメントを表示
I have data in a table and i want to plot first column (row 256 to 345) as X against second column (row 256 to 345) as Y. I need help
0 件のコメント
回答 (3 件)
Torsten
2022 年 11 月 9 日
編集済み: Torsten
2022 年 11 月 9 日
Plotting the second against the first column does not make much sense because the first column is the year and the second column is the month of the year, but here we go:
A = readmatrix("https://de.mathworks.com/matlabcentral/answers/uploaded_files/1186758/SN_m_tot_V2.0.txt");
plot(A(256:345,1),A(256:345,2))
0 件のコメント
KSSV
2022 年 11 月 9 日
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1186758/SN_m_tot_V2.0.txt') ;
scatter3(T.(1),T.(2),T.(3),[],T.(3))
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!