Re: cgColorBar greyscale [message #80287] |
Thu, 24 May 2012 06:19  |
Kai Muehlbauer
Messages: 13 Registered: February 2011
|
Junior Member |
|
|
Am 24.05.2012 14:43, schrieb David Fanning:
> Kai Muehlbauer writes:
>> Problem is: The scatter plot has colors but the colorbar is only greyscale.
>
> OK, the problem is complicated. :-)
>
> I am not going to go into all of it, but you can learn
> more about the problem by reading this article:
>
> http://www.idlcoyote.com/cg_tips/configz.php
>
> And, by reading the documentation header in SetDecomposedState.
yes, the last couple of hours I was trying to understand what you are
writing about in that article and the doumentation.
I also tried to hack it somehow, but all I was getting was a even nicer
colored colorbar, I would say 60ies style.
> So, to solve your problem, get a new version of SetDecomposedState,
> and you should be good to go:
>
> http://www.idlcoyote.com/programs/setdecomposedstate.pro
And now you are presenting these two new lines of code, for me the two
most valuable lines of IDL-Code at the moment. They prevent the sky from
falling down and transform my greyscale colorbar in a wonderful rainbow.
Thank you again!
Cheers,
Kai
|
|
|