Add plot to existing figure

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Add plot to existing figure

boconnor
I am trying to add a plot to existing figure that was created with imshow().
I have a block diagram of a system and I would like to add plots at various
positions to show the signals at those points.

I've tried:

figure(1, 'Position',[0,100,1600,645]);
imshow("block_diagram.png");
hold on
newplot();
plot(rand(1,10));

but all I get is a few blue pixles on top of my image in the upper left of
the figure. I assume because I am not using newplot() correctly? Any
direction would be helpful.



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html