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

Home » Public Forums » archive » Background color
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: Background color [message #64348 is a reply to message #64281] Thu, 18 December 2008 19:20 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Dec 17, 9:29 am, nakisa <nakisa.noor...@gmail.com> wrote:
> Hi.
> I have an strange problem  today, I use IDL.7  under linux(ubuntu) .
> I try to change the background color. with below command I create the
> window.
>
> window,xsize=1400,ysize=1400
>
> TVLCT,150,50,120,0
>
> plot,x,y,/psym,yrange=[5.6,5.75],xrange=[9.5,11.8],charsize= 3 ,title='
> none ',background=180 /NoData
>
> I use both commands(TVLCT and background) and change the numbers ,but
> still the window is in black !
> but when I write the TVLCT command in the terminal and run the file ,
> the color changes!!!!!!
> how can I control the background color from inside of pro not
> terminal ?!!
> best,nakisa

My experience is that when I've had such problems, they are related to
DirectColor graphics.
HELP, /DEV
should tell you whether you are using TrueColor or DirectColor. You
want TrueColor. Usually,
DEVICE, TRUE=24
should solve the problem (as the first command before any other
graphics commands!), but also I assume you are using DECOMPOSED=0.

Craig
[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
Previous Topic: Help needed to create image frames from dataset (mpeg movie)
Next Topic: fftw and IDL

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

Current Time: Sun Oct 12 12:12:14 PDT 2025

Total time taken to generate the page: 1.59880 seconds