plotting dm vs nw as shown in fugure

2 次查看(过去 30 天)
help me in plotting my data like this. my data is in excel sheet. i dont have that many data as shown in picture. my data is only one season..

回答(1 个)

Rhea Chandy
Rhea Chandy 2021-1-4
Hi Surya,
You can use plot to create a plot of 2-D line data, and if you need to add a legend to the axes, you can use the legend function.
If you are asking how to create a plot from data in an excel sheet, you can refer to the following information on how to import excel data into MATLAB and create plots directly from the workspace: How to Import Excel Data into MATLAB

标签

Community Treasure Hunt

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

Start Hunting!

Translated by