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일

0 개 추천

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개)

카테고리

도움말 센터File 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