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

Home » Public Forums » archive » Colorbar Program Changes
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Colorbar Program Changes [message #17417] Sun, 10 October 1999 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
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
[Message index]
 
Read Message
Previous Topic: IDL time test with a PowerMac G4
Next Topic: DUMP

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

Current Time: Mon Dec 01 06:07:58 PST 2025

Total time taken to generate the page: 1.12329 seconds