y axis is reversed

2 Ansichten (letzte 30 Tage)
researcher
researcher am 28 Jun. 2012
dear all,
when i'm calling images to be shown and write axis on, i found y axis is reversed, i mean if the image is 512x512 ,i found the (x, y) coordinates is (0,512) not (0,0) as it is supposed to be. it starts from high value to low value bottom to top.
how can i solve this problem?
thanks and best regards

Antworten (1)

Walter Roberson
Walter Roberson am 28 Jun. 2012
Please compare "axis image" to "axis xy" in the documentation, http://www.mathworks.com/help/techdoc/ref/axis.html
  1 Kommentar
researcher
researcher am 28 Jun. 2012
thanks alot for replying my question. actually i've tried both axis image and axis xy but no effect on the image.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by