Reputation: 1
How do you create a marker on a 2D image that is plotted using imagesc()? Is it even possible?
Upvotes: 0
Views: 2526
Reputation: 835
You simply want to draw something over your image? Then you can just use hold on.
For example, this will draw a circle at the 10,10 pixel of the image.
imagesc(magic(24));
hold on
scatter(10,10);
Upvotes: 1