How to change the origin axis of image?

7 visualizaciones (últimos 30 días)
Hieu Phan
Hieu Phan el 15 de Ag. de 2019
Comentada: Hieu Phan el 15 de Ag. de 2019
So I have an image 201*181 pixel, I have already plot the axis along the image the result like the pic below. Now I want to chage the origin of axis to the position i mark. Can anyone help me please, i know this is a simple problem but I cant seem to know the right function to do that.Capture.PNG
  2 comentarios
Walter Roberson
Walter Roberson el 15 de Ag. de 2019
Is it acceptable if just the label is changed, or do you need data cursor and GetPoint to report back in terms of the shifted coordinates ?
Hieu Phan
Hieu Phan el 15 de Ag. de 2019
Editada: Hieu Phan el 15 de Ag. de 2019
I just need to chage the label, the axis is just something I want to show to understand the coordinate system, it not the data invole.

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 15 de Ag. de 2019
ax = gca;
set(ax, 'YTickLabel', get(ax, 'YTick') - 100 )

Más respuestas (0)

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by