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)

2 件のコメント

Bisrat Zerihun
Bisrat Zerihun 2019 年 11 月 8 日
Thank You!
darova
darova 2019 年 11 月 8 日
Accept the answer?

サインインしてコメントする。

カテゴリ

ヘルプ センター および File Exchange2-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