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

Home » Public Forums » archive » Re: REQ: alternative plot procedure?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: REQ: alternative plot procedure? [message #18958] Tue, 15 February 2000 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Luis Alonso (luis.alonso@uv.es) writes:

> Is there avaible an alternative procedure to standard plot, in which one can
> zoom in, out, measure coordinates, scroll through the data...?

I just put a new example program named ZPLOT up on
my web page (although the pointers to it are still
being worked on). The purpose of the program is to
show users how to zoom into a line plot. Adding
scrolling or panning to the plot would be trivially easy.
No more than a half-hour's work, I imagine. The other
capabilities wouldn't be much harder. (I'd probably
zoom with the Left Button and pan with the Right
Button.)

Anyway, it gives you a place to start:

http://www.dfanning.com/programs/zplot.pro

The program takes all the positional and keyword parameters
accepted by the IDL PLOT command. It comes in its own
re-sizeable graphics window. To see it work, you can
just call it like this:

IDL> ZPlot

You click and drag a rubberband box to select the
region of the plot to zoom into. It currently zooms
only along the X axis, although it is easy enough to
zoom along either/or X and Y axes. Click and release
anywhere in the window to zoom back out.

Cheers,

David

P.S. Oh, it also demonstrates the intelligent
and device-decomposed-state-independent use of colors,
so you will also need to download my GetColor program:

http://www.dfanning.com/programs/getcolor.pro

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: REQ: alternative plot procedure? [message #18961 is a reply to message #18958] Tue, 15 February 2000 00:00 Go to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
Luis Alonso wrote:
> Is there avaible an alternative procedure to standard plot, in which one can
> zoom in, out, measure coordinates, scroll through the data...?

Try the following:

IDL> insight

Or you could try XPLOT, available from

http://www.esrf.fr/computing/scientific/xop/xplot

Cheers,
Liam.
http://cimss.ssec.wisc.edu/~gumley
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: REPLICATE with arrays
Next Topic: widget destruction

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

Current Time: Wed Oct 08 19:43:08 PDT 2025

Total time taken to generate the page: 0.00660 seconds