Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Location of the axes origin
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Martin van Gelderen

Posts: 2
Registered: 12/7/04
Location of the axes origin
Posted: Jul 9, 1996 6:15 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

This is a multi-part message in MIME format.

---------------------------------6312109196972
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii

I was trying to use the rbbox function to zoom define interactively
a zoomwindow in a 2D-plot (more or less the same as the zoomrb function
of Dean Redelinghuys located in the pub/contrib/graphics of the Matlab
ftp-server). The point is that I have is that I get the coordinates of the
zoom window in pixel and I have to convert them into axes values.
This can be done by using the 'position' properties of the current axes
and figure window. As long as I don't touch the 'AspectRatio' property of the
axes it works fine, but if I put 'AspectRatio' to a certain value, the
left-under corner of the axes as indicated by the 'Position' property of
the axes does not coincide anymore with the axes' origin and I can't find
a way to get hold of the origin of the axes expressed in pixels. Does
anyone have an alternative to the zooming or is there an algorithm to
compute the axes origin?

Martin van Gelderen

---------------------------------6312109196972
Content-Transfer-Encoding: 7bit
Content-Type: text/plain

----------------------------------------------------------------
Martin van Gelderen Delft University of Technology
Delft institute of Earth Oriented
Space Research (DEOS) /
Faculty of Geodetic Engineering
Thijsseweg 11
Phone: (31) 15 2782562 NL-2629 JA DELFT
Fax: (31) 15 2783711 The Netherlands

E-mail: gelderen@geo.tudelft.nl
WWW: http://www.geo.tudelft.nl
----------------------------------------------------------------

---------------------------------6312109196972--





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.