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 #46111 is a reply to message #46105] Tue, 01 November 2005 13:00 Go to previous messageGo to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Mon, 31 Oct 2005 17:38:29 -0500, Paul Van Delst wrote:

> 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)

Actually my tool takes care of that as well. When you are zoomed
in, you can middle-click drag to pan right around inside the zoomed image.
Very useful, and better in my opinion than tiny little versions of the
image to pan the view rect inside. This is just for images, mind you, not
plots.

JD
[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: Fri Oct 10 10:35:47 PDT 2025

Total time taken to generate the page: 1.35943 seconds