beginner subplot graph problem

Hiya,
I need help with plotting a graph behind a subplot or superimposing the two graphs below show a 12 graph subplot with an example graph, can anyone help me on this?
Thanks.
subplot(3,4,1) plot(LeadI,'k')
subplot(3,4,2) plot(LeadaVR,'k')
subplot(3,4,3) plot(LeadV1,'k')
subplot(3,4,4) plot(LeadV4,'k')
subplot(3,4,5) plot(LeadII,'k')
subplot(3,4,6) plot(LeadaVL,'k')
subplot(3,4,7) plot(LeadV2,'k')
subplot(3,4,8) plot(LeadV5,'k')
subplot(3,4,9) plot(LeadIII,'k')
subplot(3,4,10) plot(LeadaVF,'k')
subplot(3,4,11) plot(LeadV3,'k')
subplot(3,4,12) plot(LeadV6,'k')
fs=100 t=[1:2:100] plot(t)

 Accepted Answer

doc plotyy
You can use this on a subplot:
subplot(1,2,1);
plotyy(1:10,1:10,1:10,100:-10:1)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!