append one graph to another
Mostra commenti meno recenti

Hi guys, How to append one graph to another? Tried using 'hold on' but it doesn't work. Thanks.
Risposta accettata
Più risposte (1)
Mischa Kim
il 19 Feb 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)
Categorie
Scopri di più su Axis Labels in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!