[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Colorbar Program Changes
- Subject: Colorbar Program Changes
- From: davidf(at)dfanning.com (David Fanning)
- Date: Sun, 10 Oct 1999 19:04:56 -0600
- Newsgroups: comp.lang.idl-pvwave
- Organization: Fanning Software Consulting
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:16810
Hi Folks,
Several people (including me) have run into problems lately
using my COLORBAR program. In particular, when you call the
program it uses a PLOT command to draw the color bar axes.
This will affect the data coordinates in effect when the
COLORBAR program is called, which has made it difficult
to interact with the image or map projection or whatever
it was that was more important than the color bar.
So I have made a modification to the program so that
the current plot, axes, and map system variables are saved
at the start of the COLORBAR program and restored
when the program exits. Thus, it is now possible to
make a map projection, add an image, call the COLORBAR
program, and then use a cursor command on the map to
get the latitude and longitude coordinates directly.
The newly modified program is in the usual place:
http://www.dfanning.com/programs/colorbar.pro
I have also modified my color bar object program,
COLORBAR__DEFINE in a similar way:
http://www.dfanning.com/programs/colorbar__define.pro
Cheers,
David
--
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