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

Home » Public Forums » archive » Re: How to add modified color tables to IDL 7.1
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: How to add modified color tables to IDL 7.1 [message #79640 is a reply to message #79638] Thu, 15 March 2012 15:22 Go to previous messageGo to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
I think that you are not using the routine properly. You are missing the index. Did you read the documentation ?

TVLCT, r, g, b, /GET
ltab=45
MODIFYCT, ltab, 'my rainbow palette', r, g, b
PRINT, ltab

The palette will be stored in the index ltab. Next time you want to load the palette, you can do LOADCT, ltab

The magic is done !
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Convert from raster to PNG
Next Topic: New color palette

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

Current Time: Sun Oct 12 16:31:39 PDT 2025

Total time taken to generate the page: 0.00181 seconds