How to plot multiple data on the same x axis value

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.

Respuestas (1)

Walter Roberson
Walter Roberson el 8 de Nov. de 2019

0 votos

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)

2 comentarios

Thank You!
darova
darova el 8 de Nov. de 2019
Accept the answer?

Iniciar sesión para comentar.

Categorías

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

Preguntada:

el 8 de Nov. de 2019

Comentada:

el 8 de Nov. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by