Change values of axes without changing the image

5 visualizaciones (últimos 30 días)
Carlos Correia
Carlos Correia el 9 de Abr. de 2020
Comentada: Carlos Correia el 9 de Abr. de 2020
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?

Respuesta aceptada

Image Analyst
Image Analyst el 9 de Abr. de 2020
You can use imshow() to put in actual numbers:
imshow(yourImage, 'XData', [0, 1500], 'YData', [0, 35]);

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by