[Thread Prev][Thread Next][Index]

Re: Question on shade 3-arguments command



Hi Lee,
The 3-argument plot commands let you use a set of coordinates
that do not describe a rectangular grid.  They need to all be in the
same plane; often in X and Y, or in your case X and Z. It looks like
you're specifying an X-Z slice of the variables rho and yrho, and a
Y-Z slice of depth.  Give y=15 for the depth variable, and Ferret
should draw the plot

 shade rho[y=15,l=36], yrho[y=15,l=36], depth[y=15]

Ansley

Lee Hansoo wrote:

Dear Ferret users

I am trying to plot my sigma coordinates data in graphical method
using shade 3-argument command.
The script I used is like below;
-------------------------------------------------------------------------------------
let depth=h*zz  3D(x,y,z) grid
set variable/title="Depth function"/unit=metre depth
let yrho=y[g=rho]  4D(x,y,z,t) grid
set variable/title="Y"/unit=kilometre yrho

set view lr
shade rho[y=15,l=36], yrho[y=15,l=36], depth[x=15]
------------------------------------------------------------------------------------
and then I got error messege;
--------------------------------------------------------------------------------------------------
shade rho[y=15,l=36],depth[x=15], depth[x=15]
**ERROR: inconsistent sizes of data regions: X coord field lies
in different plane from data to be plotted
---------------------------------------------------------------------------------------------------
Could anyone point out some problem above and explain the shade or fill 3-argument command? I can not fully understand its function.


Lee HanSoo

RCDE, DPRI,
Kyoto University, Gokasho, Uji, Kyoto, Japan.
611-0011

Tel: 0774-38-4309
M.B : 080-5301-6649








[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement