How can I plot 5 different variable all together?

Hi, my variable all have this form:
A = [18, 20, 50, 60, ...]
They all have the same size 1x21 double and they are five.
How can I visualize in a plot all them together ?

 採用された回答

KSSV
KSSV 2021 年 10 月 2 日

0 投票

You can use plot, you will get 5 different curves and you can put legend for each.
Or you can plot them as surface using surf.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLine Plots についてさらに検索

製品

リリース

R2020b

質問済み:

2021 年 10 月 2 日

回答済み:

2021 年 10 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by