Hi,
Another use of this method is to show the underlying grid of the
variable. For a curvilienar grid, just send the coordinate
variables to the plot/vs command:
yes? fill/z=5/t="16-Jan-0101 12:00" THETAO, GEOLON,
GEOLAT
yes? plot/vs/over/nolab/nolab/sym=dot GEOLON, GEOLAT
For a fine grid, one might want to use striding to see the
shape but not all the points which would be too dense:
yes? fill/z=5/t="16-Jan-0101 12:00" THETAO, GEOLON, GEOLAT
yes? plot/vs/over/nolab/nolab/sym=dot GEOLAT[I=1:820:4,J=1:640:4],
GEOLAT[I=1:820:4,J=1:640:4]
I've attached an example using a portion of a tri-polar grid.
Ansley
On 8/9/2014 9:38 AM, jagadish
karmacharya wrote:
Hi Markus,
Ansley's
work around seems a nice solution for pattern overlay when
the image need to be save in eps format.
Previously,
I tested all the available patterns in ferret and found that
most of the them didn't look nice in eps image. However,
among the available patterns I got somewhat satesfatory eps
plot with lite_up_left pattern. But Ansley's work around
seems to give much better result.
Jagadish
Hi Markus,
I don't have a good answer for using /pattern, but I
do have an alternative way to do this kind of thing,
and it'll work fine with any of the graphics modes.
Define a set of points on a grid, based either on
the grid of the variable being plotted, or a coarser
or finer grid on the same region, and plot the
points using PLOT/VS/SYMBOL=dot, or another shape.
Here's a simple example:
yes? set data coads_climatology
yes? fill/lev=(0,33,3)/nolabel sst[l=1]
yes? go fland
yes? let xdot = x[gx=sst] + 0*y[gy=sst]
yes? let ydot = 0*x[gx=sst] + y[gy=sst]
yes? let mask = if sst gt 21 then 1
yes? plot/vs/over/sym=dot/nolab
mask*xdot,mask*ydot
See what you think.
I imagine another idea might be to make a large gif
and convert it to eps using third-party software.
-Ansley
Hi All,
maybe this question has already been addresses, but I didn't find any working
solution.
I create a map and then stipples with the command:
shade/ov/pal=black/nolab/pat=tiny_grid mask
How can I save the resulting plot in high quality eps?
Saving the map in gif works fine, but when I use Fprint -o Map.eps -p portrait
-R metafile.plt all the stipples are messy. Any advice?
Thanks,
Markus
|