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 #64467 is a reply to message #64281] Tue, 23 December 2008 07:58 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
nakisa writes:

> I use ERASE ,but delete everything in plot !!
> also , I didn't used decomposed=0 ! and now use DEVISE,true=24 but
> still the background is black !!!!

The easiest way to get a different background color in a
device independent way is to use FSC_COLOR. It doesn't
care about your DEVICE setup, etc.

Plot, indgen(11), BACKGROUND=FSC_Color('light sea green'), $
COLOR=FSC_Color('dark red')

FSC_Color now supports 200 named colors, and you can add your
own, if that isn't enough for you. You can find it here:

http://www.dfanning.com/programs/fsc_color.pro

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.")
[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 00:07:45 PDT 2025

Total time taken to generate the page: 1.44073 seconds