Change values of axes without changing the image

I currently have the following figure.
I would like to change the values of the axis without changing the image.
Essentially I would like to instead of having 200 400 600 etc have 100 200 300 etc (multiply the ticks by 0.5).
Maybe it is relevant to mention that the figure is created by the command
imagesc(MyPlot)
Is there a way to do this without changing the image?

 Accepted Answer

You can use imshow() to put in actual numbers:
imshow(yourImage, 'XData', [0, 1500], 'YData', [0, 35]);

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!