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

Home » Public Forums » archive » Re: Zooming in place
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 place [message #46125 is a reply to message #46124] Mon, 31 October 2005 14:38 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
JD Smith wrote:
>
> Just my $0.02 on the "best" algorithm for in-place zooming. My viewer
> (which might be released one of these days) lets you select a zoom region
> with a rubber-band, or just click to double the zoom. The final selected
> region is zoomed up in integer multiples to maximally fill the display
> window, and the rest of the window defaults to some neutral background
> color. Single right clicks zoom you out one step, and double right-clicks
> zoom you out "all the way". Works fairly well, in practice.

I like that approach (the either rubber-band or simple click-to-double-zoom).

One GUI who's functionality I have always wanted in IDL for both regular old x-y plots and
images is that of map zooms like you see at yahoo or msn. You can click and zoom (with a
little indicator on the side telling you your "zoom level") or you can turn off the zoom
once you've achieved your required level and the click just recenters the display (or you
have buttons at the N-S-E-W edges, and corners). One thing I always find when looking at
data in IDL is that once I've zoomed (via rubber-band) to the level I want, I would like
to traverse my plot. The only way I can do that now is to unzoom (right button click) and
then zoom in again on a different part of my plot. It works, but unfortunately I no longer
have the luxury of time to further develop my simple tool (I thought the yearly
maintenance fee would be a good substitute but, alas, that scenario hasn't eventuated),
and, jeez, this is the 21st century for pete's sake. :o) When I look over the shoulder of
matlab users they're zooming and moving and bee-bopping all over the place! I think I'm
developing data-language envy :o( actually, :o)

paulv

--
Paul van Delst
CIMSS @ NOAA/NCEP/EMC
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Error in Object
Next Topic: point datasets in ENVI: some potentially useful routines and an ROI problem

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

Current Time: Wed Oct 08 18:49:09 PDT 2025

Total time taken to generate the page: 0.00292 seconds