MATLAB: How to store plotted X and Y cordinates as an images

image of ploted x and y cordinates

i am plotting x and y co-ordinates of mouse movement on axes. now i want to save that ploted part as an image.
what ever i draw with mouse need to be stored as an image ..
is there any way to do this?

Best Answer

Press the save button on the plot, then select a desired image format.