[Thread Prev][Thread Next][Index]

Re: fill and contour



Hi Dongxiao,
The fill and contour operations are doing an interpolation operation. They have to find a way to make a path between data at different grid cells. At the edges, there is no "next cell" to interpolate to.

If you have data beyond the region where you are filling, there is a good solution, which is to specify data to contour slightly bigger than the plot limits. If we want to see data in x=80:160 and y=10:50, then request that using HLM and VLIM on the contour and fill commands, and tell Ferret to use a larger region of data for the computations. Compare these two plots:

use etopo60
contour/x=20:80/y=-20:40 rose
contour/hlim=20:80/vlim=-20:40 rose[x=18:88,y=-22:42]

(see this message for a bit more on this -- the question was comparing SHADE and FILL plots, but deals with the same question
http://www.ferret.noaa.gov/Ferret/Mail_Archives/fu_2005/msg00156.html )

Your data goes up to Y=30N. Are you using a region specifier in the Y direction? If so, you will need to limit the plot axis region to less than or equal to 30N.
Ansley

Dongxiao Zhang wrote:

Hi all,

I want to overlay contours on a "filled" field. But the contour left a stripe near the northern boundary blank (no contours overlaid). The contours and colors do line-up together very well in the rest of the domain.
Here are some information about the grid of the variable.

show grid sa
GRID GCR1
name axis # pts start end
LON LONGITUDE 181mr 110E(-250) 70W(-70)
LAT LATITUDE 61 r 30S 30N
normal Z
T TIME 1 r 17-JUL-1967 09:00 17-JUL-1967

list y[gy=sa,j=58:61]
30N / 61: 30.00
29N / 60: 29.00
28N / 59: 28.00
27N / 58: 27.00

Is this a known problem? A way to get around?

Thanks,

Dongxiao
--------------------------------------------------------------------
Dr. Dongxiao Zhang
NOAA/PMEL Bld#3
7600 Sand Point Way NE
Seattle, WA 98115-0070
Phone : (206)526-4184
--------------------------------------------------------------------







[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement