How to plot multiple data on the same x axis value

14 views (last 30 days)
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.

Answers (1)

Walter Roberson
Walter Roberson on 8 Nov 2019
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)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!