Re: Using Color ??? [message #16637] |
Tue, 10 August 1999 00:00 |
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
|
|
|