Borrar filtros
Borrar filtros

Is it possible to show the x,y axis values for an image?

93 visualizaciones (últimos 30 días)
Ronan
Ronan el 8 de Sept. de 2016
Comentada: Thorsten el 8 de Sept. de 2016
I m trying to use an image from matlab in a paper, but I want to show the x,y axis. However when you use imshow(myImage); it doesn't show the values on the x,y axis. i.e. these are coordinates of the pixels. How do I display this?

Respuesta aceptada

mizuki
mizuki el 8 de Sept. de 2016
Get the handle of the axis and set the 'Visible' property to 'on'
imshow('peppers.png');
h = gca;
h.Visible = 'On';
  5 comentarios

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Display Image en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by