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

 Respuesta aceptada

Akhilesh Thakur
Akhilesh Thakur el 1 de Ag. de 2017

0 votos

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

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by