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

Home » Public Forums » archive » Re: on the background color of cgplot
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: on the background color of cgplot [message #84457 is a reply to message #84456] Mon, 27 May 2013 07:31 Go to previous messageGo to previous message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
On Sunday, May 26, 2013 1:36:46 PM UTC-5, simona bellavista wrote:

> I noticed that if I put explictly background=cgcolor('white') in the cgplot, the background is correctly white. While if I put color=cgcolor('black'), the points are black but the axes are still cyan. I would like to set the background and the color once at the beginning before calling cgplot. Is this possible?


Not sure if it's causing your specific problem but be careful. Use this:
IDL> cgPLOT, dist(10), COLOR='black'

and *not*
IDL> cgPLOT, dist(10), COLOR=cgCOLOR('black')


http://www.idlcoyote.com/cg_tips/extracolors.php
[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: nested structures
Next Topic: Re: type conversion error - help needed urgent

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

Current Time: Wed Oct 08 15:56:17 PDT 2025

Total time taken to generate the page: 0.00416 seconds