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

Home » Public Forums » archive » Re: changing the color of a plot
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: changing the color of a plot [message #71225 is a reply to message #71222] Fri, 04 June 2010 09:26 Go to previous messageGo to previous message
cgguido is currently offline  cgguido
Messages: 195
Registered: August 2005
Senior Member
On Jun 4, 5:25 am, Hassan <hkhav...@gmail.com> wrote:
> Hi,
>
> I wonder how I can change the background color of the plot to white
> color and the plot itself to the balck color? I used Background
> keyword in Plot procedure but I dont know which value I shoud use to
> convert it to white.
>
> Thanks

Not only has David been "supplying color information to the
IDL community for nearly 25 years", but he's also written FSC_COLOR,
it's like sliced bread only better. And that's a fact!

plot, indgen(9), background=fsc_color('white'),
color=fsc_color('black')

Get it here http://www.dfanning.com/documents/programs.html#FSC_COLOR

--G
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Contour data with two different lon/lat grids onto the same map projection
Next Topic: WSDL - Webservices access from IDL

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

Current Time: Fri Oct 10 04:39:53 PDT 2025

Total time taken to generate the page: 0.95924 seconds