[Thread Prev][Thread Next][Index]

Re: [ferret_users] color of multiple x-axis



Hi Jang,
Probably the simplest way to do this is to draw over the x axis with a colored line, using the PLOT/VS command. Here is how to do this on a single plot: Draw the plot.  When it is drawn, Ferret defines symbols xaxis_min, xaxis_max, yaxis_min, yaxis_max.

  yes? plot my_var    ! draw your  plot. This can use any plot, shade, fill commands

  yes? plot/over/vs/line/color=red/nokey  {($xaxis_min), ($xaxis_max)}, {($yaxis_min), ($yaxis_min) }

The { } syntax creates a variable out of a list of values; in this case the x and y coordinates of the start and end of the x axis. 

I think you should be able to do something similar with your multiple plots, using the same method.

Ansley

Chan Joo Jang wrote:

Dear Ferret users:

 

I wonder if ferret can have different colors of each axis line when I use multiple x-axis.

In other words, how can I have, say, a red  x-axis line?

 

Jang



------------------------------------------------
Currently at Dep. of Oceanography, Texas A&M Univ
Chan Joo Jang, Ph.D., researcher 
Korea Ocean Research and Development Institute
1270 Sa2-dong, SangRok-gu, Ansan  426-744, Korea
Tel: +82-31-400-6317 Fax: +82-31-408-5827
cjjang@kordi.re.kr, http://ogcm.kordi.re.kr
------------------------------------------------ 

  

-- 

~>   ~>   ~>   ~>   ~>   ~>   ~>   ~>   ~>   ~>   ~> 

Ansley Manke, NOAA/PMEL   ansley.b.manke@noaa.gov
7600 Sand Point Way NE, Seattle WA
Phone 206-526-6246,  FAX 206-526-6744


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement