[Thread Prev][Thread Next][Index]

Re: [ferret_users] 2nd Y-scale/lablel color?



Dear Luke,

> I'm trying to make an XY plot with 2 y-axis. I was wondering... is there a
> way I can change the color for the label & scale of one of the y-axis I am
> plotting? In my case, I am trying to make the Y-axis scale & label for the
> variable "lux" have a red color.

The label and axis colors are controled by pen 0.  If you
change that one, you'll see the effect.

 ppl pen 0,6
 plot /x=-100:100 sin(x/100)

That makes them all purple.  It becomes easy if you combine this with 

http://ferret.pmel.noaa.gov/Ferret/faq/how-can-i-draw-a-second-vertical-axis-on-a-contour-plot

ppl pen,0,1
ppl axset,1,1,1,0
plot /x=-100:100 sin(x/10)
plot /over/col=6 /x=-100:100 cos(x/10)
ppl pen,0,6
ppl %yaxis 0,60,5,100,1,2,1,+1

I get confused when trying to put the second plot command after ppl
%yaxis command: ferret uses the new yaxis but it seems to use the old
vlimits.  Someone else can probably explain how to do that.

Kind regards,
	
	Hein

-- 

Dr. Hein Zelle
Senior consultant meteorology & oceanography
BMT ARGOSS

Tel:        +31 (0)527-242299
Fax:        +31 (0)527-242016
E-mail:     hein.zelle@xxxxxxxxxxxxx
Website:    www.bmtargoss.com
	    
BMT ARGOSS b.v.
Voorsterweg 28, 8316 PT Marknesse, the Netherlands
Postal address: P.O. Box 61, 8325 ZH Vollenhove, the Netherlands

Registered in The Netherlands, Registered no. 39060160.

Unless otherwise agreed by BMT ARGOSS in writing, all work,
services, goods or products supplied by BMT ARGOSS shall be subject
to and governed by BMT ARGOSS' own terms and conditions which are
available for inspection from BMT ARGOSS on request.

E-mail confidentiality notice and disclaimer:
The contents of this e-mail and any attachments are intended for the
use of the mail addressee(s) shown. If you are not that person, you
are not allowed to read it, to take any action based upon it or to
copy it, forward, distribute or disclose the contents of it and you
should please delete it from your system. BMT ARGOSS does not accept
liability for any errors or omissions in the context of this e-mail or
its attachments which arise as a result of internet transmission, nor
accept liability for statements which are those of the author and
clearly not made on behalf of BMT ARGOSS.


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement