Naming data in graphs

1 Ansicht (letzte 30 Tage)
Tsvetan Donov
Tsvetan Donov am 1 Aug. 2017
Beantwortet: Akhilesh Thakur am 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

Akzeptierte Antwort

Akhilesh Thakur
Akhilesh Thakur am 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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by