On 11 Nov, 10:21, "Claus " <il_consigli...
> can you tell me if I can use an image as background to a Matlab plot? How?
It *can* be done, but it can be very cumbersome, depending
on what you want to do. To demonstrate:
load clown % Stand-in for your JPEG
imagesc(X) % Stand-in for your JPEG
colormap(map) % Specific for the clown example
hold on; % Prepare to plot on top of the image
plot([100 200],[50,150],'g','linewidth',3) % plot a line
Now, try and see what happens if you want to change the
axis([1 500 1 1000])
Both the image and the line is still there, but the image
is distorted. It is up to you to implement all the stuff
that is necessary to handle the image, preserve the scales
and so on.