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

Home » Public Forums » archive » Re: color axis
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: color axis [message #82239] Tue, 27 November 2012 08:47
Alex[1] is currently offline  Alex[1]
Messages: 2
Registered: November 2012
Junior Member
Il giorno martedì 27 novembre 2012 13:01:34 UTC-3, Alex ha scritto:
> Hello there!
>
> Using PLOT, is there a way to plot the axis let's say in gray and labels in black?
>
> thanks

Thanks
Re: color axis [message #82240 is a reply to message #82239] Tue, 27 November 2012 08:18 Go to previous message
lecacheux.alain is currently offline  lecacheux.alain
Messages: 325
Registered: January 2008
Senior Member
Le mardi 27 novembre 2012 17:01:34 UTC+1, Alex a écrit :
> Hello there!
>
> Using PLOT, is there a way to plot the axis let's say in gray and labels in black?
>
> thanks

pl = plot(/TEST)
pl['AXIS0'].COLOR = !Color.Grey
pl['AXIS0'].TEXT_COLOR = !Color.Red

alx.
Re: color axis [message #82241 is a reply to message #82240] Tue, 27 November 2012 08:10 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Alex writes:


> Using PLOT, is there a way to plot the axis let's say in gray and labels in black?

cgPlot, cgdemodata(1)
cgPlot, cgdemodata(1), axescolor='gray', xtickformat='(a1)', $
ytickformat='(a1)', /noerase, /nodata

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: color axis
Next Topic: Re: Flight Through the Universe

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

Current Time: Wed Oct 08 11:45:41 PDT 2025

Total time taken to generate the page: 0.00649 seconds