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 ?

 Respuesta aceptada

KSSV
KSSV el 2 de Oct. de 2021

0 votos

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.

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Productos

Versión

R2020b

Preguntada:

el 2 de Oct. de 2021

Respondida:

el 2 de Oct. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by