Filter löschen
Filter löschen

How can I plot 5 different variable all together?

3 Ansichten (letzte 30 Tage)
HelpAStudent
HelpAStudent am 2 Okt. 2021
Beantwortet: KSSV am 2 Okt. 2021
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 ?

Akzeptierte Antwort

KSSV
KSSV am 2 Okt. 2021
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.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by