Roman
Roman

Reputation: 1

Markers and the imagesc() function in matlab

How do you create a marker on a 2D image that is plotted using imagesc()? Is it even possible?

Upvotes: 0

Views: 2526

Answers (1)

MPG
MPG

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

Related Questions