Re: Teaching an Elephant to Dance [message #77588 is a reply to message #77586] |
Mon, 12 September 2011 10:05   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Mark Piper writes:
> There's an easier way to make this plot, but you have to work with the
> fact that COLORBAR wants 256 values and is tied to the data.
>
> I've used code similar to what I posted earlier
> [ https://groups.google.com/d/msg/comp.lang.idl-pvwave/QHJmvrK ybz/WMR2aD5g0P8J],
> and I put in a few comments to show where my code differs from yours.
>
> I've tested this on my laptop (64-bit Win XP + 32-bit Linux (Ubuntu
> 10.10)) and the Tech Support Mac running Lion.
I'm going to haul my machine to Boulder and see if it
works better in the rarefied atmosphere up there.
I missed that TICKNAME keyword, and down she goes! :-(
Does no one at ITTVIS use Windows 7? (It's the latest
Windows operating system.) I'd be happy to loan you
one of my machines, if you like.
The fact that you have to "work with the fact that
COLORBAR wants 256 values and is tied to the data"
is exactly what is wrong with the COLORBAR function.
You can't make it do what you want it do to. Believe
it or not, people don't always use 256 colors. Sometimes
they use a lot less. But, I'm sure you know this.
I'll see what I can learn from that example if I remove
the TICKNAME keyword. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|