[Thread Prev][Thread Next][Index]

Re: [ferret_users] Y-AXIS SCALE



Hi Steeven,

My guess is that the netcdf file that you are reading in doesn't have the coordinate values associated with the z axis (0-600m), or that ferret isn't managing to read them in for some reason. One solution is to regrid the z axis,

define axis/z=0:600:10/units=meters/depth new_z !Define new z axis; bottom of graph is 600m level let new_d20 = d20[gz=new_z@asn] !Define new var which is old var on new axis

plot/vlimits=600:0:10/set new_d20
ppl ylab "Depth / m"											!Add y-axis title
ppl plot

You might want to check my syntax in the "regridding" part of the ferret documentation, but I think this should work.

Cheers,

Paul





On Feb 10, 2010, at 8:30 AM, steeven paul yerraguntla wrote:

Dear ferreters,
I used model data which has 60 layers (k=60) and the interval between each layer is 10 meters. The problem is when i ploted the D20 data it showing y-axis scale in terms of layers where i want the scale in meters. Please see the attached gif image for clarity and i hope somebody will help me.

Thanks in advance,




--
Steeven Paul Y
Research Fellow
NIO RC Vizag
176 Lawsons Bay Colony
Visakhapatnam - 530017
<d20.gif>



[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement