comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Zooming in Object Graphics
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Zooming in Object Graphics [message #22972 is a reply to message #22944] Wed, 20 December 2000 13:12 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"David Fanning" <davidf@dfanning.com> wrote in message
news:MPG.14aab41f9ee42b1c989cc6@news.frii.com...
> Well, I'm not convinched. But, Im' shure sober Mark
> Hatfield alreaady hash somethin like thish already...

"sober Mark Hatfield"? What!?

As a matter of fact, I am sober. It's 10 am here & I haven't had time to
drink any egg nog yet. Egg nog isn't all that appealing in the middle of
summer anyway.

Yeah I do have something like thish, it's called an MGH_Plot.

The basic idea is that when the user selects a new data range in the X
direction, the X axes are recalculated so that they span the new data range,
but with no change in the normalised range. This requires a change in
XCOORD_CONV and this new value is passed on to all the atoms that are
associated with that X axis. Pretty much what you said, David (before the
egg nog) and there's no changing the viewplane rectangle.

It's just a prejudice of mine, but I like to keep the viewplane rectangle
dimensions close to 2 x 2 and also try to ensure that a square in normalised
coordinates on the viewplane is square on the window or printer page.

Those who have looked at any of my code will not be surprised to hear that
MGH_Plot calls on a whole heap of other classes in my object library and
there's some really neat stuff in there with "master-slave" relationships
between the axes and atoms that I won't explain because I've forgotten how
it works. But if you want to take a look go to:

http://katipo.niwa.cri.nz/~hadfield/gust/software/idl/

This URL looks a bit odd right now because the sysadmin fiddled with the
Apache settings.

---
Mark Hadfield
m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield/
National Institute for Water and Atmospheric Research
PO Box 14-901, Wellington, New Zealand
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Polygon hull
Next Topic: New book on Calling C from IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:12:03 PDT 2025

Total time taken to generate the page: 0.00433 seconds