I want to plot multiple graphs in a single plot with some space between each signal
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I want to plot multiple graphs in a single plot with some space between each signal
7 comentarios
Walter Roberson
el 14 de Sept. de 2018
Have a look at the new stackedplot() https://www.mathworks.com/help/matlab/ref/stackedplot.html . This may require using a table object
jonas
el 14 de Sept. de 2018
I mean, the figure you uploaded is literally taken from the doc on stackedplot, so try it :)
Respuestas (1)
KSSV
el 14 de Sept. de 2018
How about adding some number to the y values and plotting?
A = rand(10,10) ;
figure
hold on
x = 1:10 ;
for i = 1:10
plot(x,A(i,:)+i)
end
6 comentarios
Ver también
Categorías
Más información sobre Line 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!