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

Home » Public Forums » archive » X-windows black on white
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
X-windows black on white [message #5112] Mon, 09 October 1995 00:00
t.osborn is currently offline  t.osborn
Messages: 6
Registered: July 1995
Junior Member
Hi

I want to have a white background with black foreground as the default when
using the X device. By having a file called init.pro containing the lines

!p.background=255
!p.color=0

and having the environment variable IDL_STARTUP set to init, whenever I begin
an IDL session, the above lines are executed and any X plots come out as I
want. But if I ever issue the command set_plot,'X' (e.g., after producing
some output with set_plot,'PS', IDL switches back to a black background
with a white foreground.

Is there any way to specify that the default should be the other way round?
Can I somehow specify the !D.FLAGS system variable to do this? If so, how?

Many thanks

Tim Osborn

Climatic Research Unit, University of East Anglia, Norwich, UK
[Message index]
 
Read Message
Previous Topic: Re: Named and Anonymous structures ?
Next Topic: Help generate binary number

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

Current Time: Fri Oct 10 06:40:41 PDT 2025

Total time taken to generate the page: 0.56005 seconds