[Thread Prev][Thread Next][Index]

Re: [ferret_users] remove zero from x-axis



Hi Steve,
          A weird solution to your problem...make a label
"0.0" exactly at the postion of X axis 0 in the background 
color ! Here is an example..

For the default plot, the background color is white. So 
define a new "ppl color" with values "99,99,99" (which
is better than using "100,100,100" with most of the file
formats)

  def axis/x xax={-6,-5,-4,-3,-2,-1,1,2,3,4,5,6}
  def axis/y=50:1000:50 yax

  let var =sin(x[gx=xax]) + sin(y[gy=yax]) 

  fill/set var
    ppl xfor (f4.1)
  ppl fill
  ppl color 6,99,99,99
  label 0,0,0,0,0.10,@C0060.0  ! no space between "@C006" and "0.0"

You may have to tune the "Y" value for label to get it at right
position.

Hope this helps,

Jaison


On Wed, 11 Oct 2006 guimond@coaps.fsu.edu wrote:

> Hi Ferreters,
>   I defined an xaxis like so:
> 
> def axis/x xax={-6,-5,-4,-3,-2,-1,1,2,3,4,5,6}
> 
> When I go to plot my data, "0" still shows up on the xaxis which I 
> would like to remove.  Any ideas?
> 
> Thanks Much,
> Steve
> 
> =======================================================
> Stephen R. Guimond
> Graduate Research Assistant
> Center for Ocean-Atmospheric Prediction Studies (COAPS)
> Tallahassee, FL 32304
> =======================================================
> 
> 
> ----------------------------------------------------------------
> 
> 

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement