append one graph to another
Mostrar comentarios más antiguos

Hi guys, How to append one graph to another? Tried using 'hold on' but it doesn't work. Thanks.
Respuesta aceptada
Más respuestas (1)
Mischa Kim
el 19 de Feb. de 2014
You mean something along the lines of:
x1 = 1:50; x2 = 1:10; x3 = 1:10;
y1 = rand(1,50); y2 = rand(1,10); y3 = rand(1,10);
x = [x1 x2+x1(end) x3+x1(end)+x2(end)];
y = [y1 y2 y3];
plot(x,y)
Categorías
Más información sobre Axis Labels en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!