Naming data in graphs
1 view (last 30 days)
Show older comments
Tsvetan Donov
on 1 Aug 2017
Answered: Akhilesh Thakur
on 1 Aug 2017
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
0 Comments
Accepted Answer
Akhilesh Thakur
on 1 Aug 2017
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 Comments
More Answers (0)
See Also
Categories
Find more on Bar Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!