y axis is reversed

1 次查看(过去 30 天)
researcher
researcher 2012-6-28
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

回答(1 个)

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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by