y axis is reversed

3 views (last 30 days)
researcher
researcher on 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

Answers (1)

Walter Roberson
Walter Roberson on 28 Jun 2012
Please compare "axis image" to "axis xy" in the documentation, http://www.mathworks.com/help/techdoc/ref/axis.html
  1 Comment
researcher
researcher on 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.

Sign in to comment.

Categories

Find more on Visual Exploration in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!