Borrar filtros
Borrar filtros

plotting multiple vectors on one graph

54 visualizaciones (últimos 30 días)
Steve Avilesmejia
Steve Avilesmejia el 18 de Sept. de 2020
Respondida: Alan Stevens el 18 de Sept. de 2020
y1 =
308.0035
301.1535
301.0850
296.2900
293.5500
y2 =
313.8800
305.8800
305.8000
300.2000
297.0000
y3 =
325.0035
318.1535
318.0850
313.2900
310.5500
im not sure how to plot these on one graph?

Respuestas (1)

Alan Stevens
Alan Stevens el 18 de Sept. de 2020
Like this perhaps:
>> x = 1:5;
>> plot(x,y1,'o-',x,y2,'*-',x,y3,'s-')

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by