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

Home » Public Forums » archive » Pan/Zoom Line Plots with Coyote 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: Pan/Zoom Line Plots with Coyote Graphics [message #80262 is a reply to message #80153] Fri, 25 May 2012 08:18 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mark Piper writes:

> Zoom by rolling the scroll wheel. I chose 'days' as the tickunit;
> you may want to build logic into the window (using NG event handling)
> to change XTICKUNITS and XTICKFORMAT conditioned on p.xrange.

Yes, this is probably what you would have to do. Since
this is a specialized use for this functionality, I think
I would probably just write a TimeZPlot subclass of the
cgZPlot object and modify the zoom event handler to
check for the range and set the labeling accordingly.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[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
Previous Topic: Re: Type of array to store large numbers
Next Topic: Re: ps_start and color

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

Current Time: Fri Oct 10 15:09:40 PDT 2025

Total time taken to generate the page: 0.79981 seconds