Plotting graph for specific columns and rows

20 次查看(过去 30 天)
I have a table with 60 columns and 60,000 rows. I need to plot graph with x-axis as my 20th column and y-axis as 60th column. I just need to plot the graph for rows from 1 to 4000. please help me with a solution.

采纳的回答

Matt J
Matt J 2022-8-4
plot(yourTable{1:4000,20}, yourTable{1:4000,60})
  4 个评论
Torsten
Torsten 2023-12-4
hold on
plot(yourTable{1:4000,20}, yourTable{1:4000,60})
plot(yourTable{1:4000,20}, yourTable{1:4000,70})
...
hold off
Matt J
Matt J 2023-12-4
编辑:Matt J 2023-12-4
Or just,
plot(yourTable{1:4000,20}, yourTable{1:4000,[60,70,...]})

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by