How to show both x,y coordinate mapped on image?
x = 12;
y = 54;
plot(x,y,'+ b'); % this show only the "+" symbol. How to show the both coordinate and the "+"
How to show both x,y coordinate mapped on image?
x = 12;
y = 54;
plot(x,y,'+ b'); % this show only the "+" symbol. How to show the both coordinate and the "+"
This should do the trick (might need some adjustment of the coordinates):
text(x,y,['(', num2str(x), ', ', num2str(y), ')'])