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 #22944 is a reply to message #22937] Thu, 21 December 2000 11:34 Go to previous messageGo to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
I am not helping with keeping the can of worms open, I hope. After all,
I am always open for an ig-nock. Anyway, I have tried both messing with
viewplane rectangle and with coord_conv, and for my degree of dumbness,
the coord conversion was much easier. With the Viewplane_rect approach I
finally zoomed to where I did not see anything at all in my Display, and
could not bring the contents back even manually. I am planning to dive
into Direct Coordinate Object Graphics realm, but for now the coord_conv works.
In fact, for the 2D case I have written a simple IDLgrPlot method that
zooms in and out, and all you have to do is give it the mouse press and
relase coordinates. It can be found at
http://spot.colorado.edu/~romashki/idl/IDLgrPlot__zoom.pro (talking
about exclusively named methods! :-).
I am not trying to say its good, but its fast and short. All you have to
do is get mouse click coords and call ZOOM method on any of the
IDLgrPlots in the current Model. Everything that pertains to the Plot
(axes, other plots) gets rescaled appropriately, new Coord_convs are
returned to you, etc.

Cheers,
Pavel
[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 19:55:20 PDT 2025

Total time taken to generate the page: 0.00239 seconds