plot graph from array

2 次查看(过去 30 天)
tomer polsky
tomer polsky 2017-3-17
评论: Guillaume 2017-3-18
i got an array of 100 raws and 9 colms . how can i plot the data from this array ?

回答(1 个)

Guillaume
Guillaume 2017-3-17
plot, surf or any other plotting function?
Without you telling us more about what the data in that matrix represents and what you want to display out of it how can we tell you which is more adequate?
  2 个评论
tomer polsky
tomer polsky 2017-3-18
oh ok i am sorry . As I said i have 9 colmn .lets say the first colmn is (D.C -duty cycle ) and the other colms are the reuslts of I and V of each DC. i want to make this graph : f(D.C)=V for exmaple . how do i make it ?
Guillaume
Guillaume 2017-3-18
plot(yourmatrix(:, 1), yourmatrix(:, 2));
would plot each of column 2-9 against column 1.

请先登录,再进行评论。

类别

Help CenterFile 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!

Translated by