How to change the origin axis of image?

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 Commenti

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 il 15 Ago 2019
Modificato: Hieu Phan il 15 Ago 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.

Accedi per commentare.

 Risposta accettata

ax = gca;
set(ax, 'YTickLabel', get(ax, 'YTick') - 100 )

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by