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

Home » Public Forums » archive » cgcontour colours for 2 panel plot
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: cgcontour colours for 2 panel plot [message #84837 is a reply to message #84831] Wed, 12 June 2013 14:10 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Phillip Bitzer writes:

> I've also put a snippet of some IDL notes I have up that may or may not help here:
> https://docs.google.com/file/d/0BxRn65i6z-Z5bjhFUUM1RWNVb0k/ edit?usp=sharing

I made the mistake of letting Coyote read this, and he found this line
on your last page:

Note: unfortunately cgSurface is one of the few Coyote routines
that uses a color table, not a palette. So, getting the colors
to match our contour plot is not as straightforward as it was
before. There are ways to do it, but we’ll save that for another day.

After reading it he was howling and whining and frothing at the mouth,
so I finally gave him 10 minutes off so he could go fix the damn thing.
Here it is. He has finally settled down and gotten back to work. :-(

http://www.idlcoyote.com/programs/cgsurface.pro

You can call it like this:

cgloadct, rgb_table=pal, 33
cgsurface, cgdemodata(2), Shaded=1, palette=pal, /elevation

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("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
Previous Topic: Polyfill overlap issue
Next Topic: dialog_pickfile - multiple directories

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

Current Time: Sun Oct 12 14:42:45 PDT 2025

Total time taken to generate the page: 1.03956 seconds