How to plot multiple data on the same x axis value

12 次查看(过去 30 天)
I had a problem where i had to plot multiple data i got under the same x axis value. I want to plot all the values in a graph but it keeps on relaping on the same x value. Is there any way i can plot the values side to side on the same x axis.

回答(1 个)

Walter Roberson
Walter Roberson 2019-11-8
You should look at waterfall plots, https://www.mathworks.com/help/matlab/ref/waterfall.html and at the newer stacked plot https://www.mathworks.com/help/matlab/ref/stackedplot.html (R2018b)

类别

Help CenterFile 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