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

Home » Public Forums » archive » Re: color table in unix
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: color table in unix [message #34375] Wed, 12 March 2003 08:32 Go to previous message
supernova_krose is currently offline  supernova_krose
Messages: 4
Registered: March 2003
Junior Member
I know how to use the file keyword, but I wanted to find out if there
is anyway to change the default for colors1.tbl in my startup file so
I don't have to type it everytime I want to load a color table. Is
there such a command?

Thanks,

Kay

Reimar Bauer <R.Bauer@fz-juelich.de> wrote in message news:<b4lhqp$8icp$1@zam602.zam.kfa-juelich.de>...
> Kay wrote:
>
>> I am a neophyte with IDL running in UNIX, so I apologize in advance if
>> this is a really stupid question. When I ran IDL on a Mac, I had
>> color table file that I replaced the default version with. On the
>> Mac, I had permissions to change whatever I wanted in the
>> resource:colors directory. What I would like to do is have that same
>> color table file as my default in Unix, however I can't write to the
>> ...rsi/IDL/resource/colors directory. Is there something I can put in
>> my IDL startup file that will change the default color table file from
>> the ...rsi/IDL/resouce/colors/colors1.tbl to the file I want to use?
>>
>> Thanks,
>>
>> Kay
>
> Dear Kay,
>
> ok on the mac you may have user privelegs which allows you editing or
> changing a system file.
> On unix those files are protected. Only root can change these files.
> An unix system is a true multi user system. The same time many users can be
> logged in. It is not a good idea to change a colortable in this way you
> have done it before.
>
> If you have a look to the documentation or online help you will find a
> keyword file which could be added to LOADCT,
>
> The LOADCT procedure loads one of 41 predefined IDL color tables. These
> color tables are defined in the file colors1.tbl, located in the
> \resource\colors subdirectory of the main IDL directory, unless the FILE
> keyword is specified. The selected colortable is loaded into the COLORS
> common block as both the current and original colortable. If the
> current device has fewer than 256 colors, the color table data is
> interpolated to cover the number of colors in the device.
>
>
> FILE
> Set this keyword to the name of a colortable file to be used instead of the
> file colors1.tbl. SeeMODIFYCT to create and modify colortable files.
>
>
> regards
>
> Reimar
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL 5.6 OSX X11 object graphics crash..
Next Topic: Re: max dimension in IdgrBuffer

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

Current Time: Sat Oct 11 23:31:24 PDT 2025

Total time taken to generate the page: 1.52205 seconds