MATLAB: Combining a graphics

graphics

i have a discrete time graphics. I have a graphic model in 0-50 second and i have another grpahic for 50-100 second. How can i combine then in one grahic? Thanks from now.

Best Answer

As far as I understand your question, you are looking for the HOLD command. Example code:
plot(0:50,rand(1,51),'b')
hold on
plot(51:100,rand(1,50),'k')