How can I plot 5 different variable all together?

2 次查看(过去 30 天)
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
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 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by