Re: How to create a colour table in IDL? [message #89983 is a reply to message #89982] |
Tue, 13 January 2015 02:39   |
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
|
|
|