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.

답변 (1개)

Walter Roberson
Walter Roberson 2019년 11월 8일

0 개 추천

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)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

질문:

2019년 11월 8일

댓글:

2019년 11월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by