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

Home » Public Forums » archive » How to create a colour table in IDL?
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 create a colour table in IDL? [message #89983 is a reply to message #89982] Tue, 13 January 2015 02:39 Go to previous messageGo to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
Hi,
this is not my stuff, but I tied this and it worked:
loadct, 70
window, xsize=600, ysize=600
cgimage, dist(600)

or, even easier:
window, xsize=600, ysize=600
cgimage, dist(600), ctindex=70

regards,
Helder


On Tuesday, January 13, 2015 at 11:32:20 AM UTC+1, Madhavan Bomidi wrote:
> Hello,
>
> I have gone through the previous posts on this topic, but I could not understand how I can create a colour table in IDL. I am interested in using the colour table with only blue and red colours similar to XLOADCT: 70 - CB-RdBu - (as shown in http://www.exelisvis.de/docs/loadingdefaultcolortables.html). Can any one tell me how I can use the 'XLoadCT' colour table 70 with 'loadCT' command?
>
> Look forward for a favourable response,
>
> Thanking you,
> With regards,
> Madhavan
[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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: When with the Linux version switch from Motif's to a modern toolkit?
Next Topic: Colors for the Color Blind

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

Current Time: Wed Oct 08 13:55:32 PDT 2025

Total time taken to generate the page: 0.00485 seconds