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

Home » Public Forums » archive » background color for draw widget
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 #64279 is a reply to message #60741] Wed, 17 December 2008 07:04 Go to previous message
Wout De Nolf is currently offline  Wout De Nolf
Messages: 194
Registered: October 2008
Senior Member
On Wed, 17 Dec 2008 06:29:13 -0800 (PST), nakisa
<nakisa.nooraee@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

What happens when you use ERASE?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Generating a widget 'event' from an external program...
Next Topic: compiling errors in different computers with CW_BGROUP and GET_SCRREEN_SIZE

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

Current Time: Fri Oct 10 22:55:18 PDT 2025

Total time taken to generate the page: 0.16093 seconds