Re: How to create a colour table in IDL? [message #89984 is a reply to message #89983] |
Tue, 13 January 2015 02:54   |
Helder Marchetto
Messages: 520 Registered: November 2011
|
Senior Member |
|
|
Just in case you don't want to use David's library, then you have to make sure that decomposed is off:
device, decomposed=0
window, xsize=300, ysize=300
tv, dist(300)
To check for your current decomposition state, use:
If "decomposed" stuff is not your thing, I would recommend to do the following:
device, get_decomposed=current_decomp_Value
print, 'my current decomposed value is ', current_decomp_Value
device, decomposed=0
;do you calculations/imaging here
;restore the previous decomposition state:
device, decomposed=current_decomp_Value
If you're not sure what decomposed means and does, used David's libary or read his books (the second option gives you more than the first).
Regards,
Helder
|
|
|