man, 05 10 2009 kl. 06:43 +0200, skrev Shai Ayal:
> The image is drawn at z=0, so to see the plot, you should plot the
> libe aboce the z-plane:
> hold on, plot3 (1:100, 50*sin(linspace (0, 2*pi,
> 100))+50,ones(1,100), "linewidth",10), hold off, view(2)
> Is this not the expected behavior?
When I do this, I get the attached image. I would have expected to see
the sine curve on top of the image. This happens both with and without
the call to 'view'.
So, no, this is not the expected behaviour. Images should always be
shown below other graphics objects. This is really handy, when doing
image processing as it allows you to easily plot positions of objects on
top of the image.
Soren