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

Home » Public Forums » archive » Re: Using Color ???
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Using Color ??? [message #16637] Tue, 10 August 1999 00:00
Andy Loughe is currently offline  Andy Loughe
Messages: 174
Registered: November 1995
Senior Member
Anil Kochhar wrote:
>
> Hi All,
>
> I am trying to plot a graph in color. However I only want the plot iself
> to be in color.
>
> I tried using the command
>
> idl>tvlct, 255,0,0,10
> idl>Plot, XVector, Yvector, color = 10, Title = 'Graph 1:', XTitle='Time
> (Years)', YTitle = 'Data'
>
> However the axis labels also are displayed in red. Is there a way to
> JUST display the graph in red, and have the axis labels display in the
> default white color?
>
> Thanks
> Anil
>
> P.S.:please reply to my email address.



data = indgen(33)

plot, data, /nodata

oplot, data, color=33


--
Andrew F. Loughe | email: afl@cdc.noaa.gov
NOAA-CIRES CDC Mail Code: R/E/CD1 | www :
http://www.cdc.noaa.gov/~afl
325 Broadway | voice: (303)497-6211
Boulder, CO 80303-3328 | fax : (303)497-7013
------------------------------------------------------------ ---------------
"I do not feel obliged to believe that the same God who has endowed us
with
sense, reason, and intellect has intended us to forego their use."
-Galileo
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: transfering data files
Next Topic: Using Color ???

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

Current Time: Wed Oct 08 19:53:43 PDT 2025

Total time taken to generate the page: 0.00394 seconds