Re: req. advice for making graphics for a estuary model

From: Kate Hedstrom (kate AT unknown)
Date: Thu Jan 19 1995 - 12:03:37 MST


Hi Mark,

> The graphics that I want to produce include all or portions of the
> following features:
> 1) map of the shoreline;
> 2) contour plots of scalars (i.e. temperature) masked by the land;
> 3) vector plots of velocitiy, masked by land;
> 4) the structure of my curvilnear grid;
> 5) addition of titles etc.

The SPEM model plotting does everything you want. We also have a
curvilinear orthogonal model, our own coastline database, and
masking. It is available on ahab.rutgers.edu in the pub/spem/src
directory. Specifically, you should look at the plothist program
and all the routines it calls (cpshift, cpmpxy, drawcoast...).

One key is getting the contour plot in the same coordinate system as
the EZMAP coordinate system. In our case, we build the grids using
the EZMAP coordinate system and scaling in such a way that we can
undo the scaling for the plots.

The other key is that the contours are not done as completely random
data, but as a logical rectangle that is curved when it comes time
to actually draw the contours. This is done in getxxyy and cpmpxy.
The vectors are done similarly in vvumxy.

The user's guide for SPEM 3.9 is in pub/kate/manual.ps.Z and is also
available in a bound form from me.

Kate Hedstrom Institute of Marine and Coastal Sciences
kate AT unknown Rutgers University



This archive was generated by hypermail 2b29 : Wed Jun 28 2000 - 09:40:23 MDT