Naming data in graphs

1 次查看(过去 30 天)
Hi, I want to ask a question regarding the naming of lines on a graph. I can't use Matlab, the only tool I use is plot. I import data from excel and plot it in Matlab because the graphs are better suited for representing complex data.
I want to plot 6 lines on a graph, time (x) against displacement (y). I have done it and I know how to add legends, labels, etc.
My question is which line is which row of data? Is the first line (I have clicked on it - the blue one) the first input in my plot function (blue line is MDA, red is MDC and so on)?
Best Regards, Tsvetan Donov

采纳的回答

Akhilesh Thakur
Akhilesh Thakur 2017-8-1
Is the first line (I have clicked on it - the blue one) the first input in my plot function, --- Yes. According to whatever way you have programmed.
https://www.mathworks.com/help/matlab/ref/graph.plot.html
Have you gone through this documentation it has everything you want to implement

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Bar Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by