Re: Questions about IDL 8.0 [message #73743 is a reply to message #73742] |
Tue, 23 November 2010 15:52   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> ;*********************************************************** *********
> file = Filepath('worldelv.dat', SUBDIRECTORY = ['examples', 'data'])
> world = Read_Binary(file, DATA_DIMS = [360,360])
> CTLoad, 4, /BREWER, RGB_TABLE=ct
> img = Image(world, RGB_TABLE=ct)
>
> CTLoad, 18, /BREWER RGB_TABLE=nct
> img.rgb_table=nct ; to new color table
>
> Help, ct, nct
> END
> ;*********************************************************** *********
Oh, wait, there is a typo there! I need a comma
after the second BREWER.
CTLoad, 18, /BREWER, RGB_TABLE=nct
But even when fixed, it doesn't work. :-(
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|