Re: hacheurs
- To: mathgroup at smc.vnet.net
- Subject: [mg12728] Re: hacheurs
- From: Daniel Lichtblau <danl>
- Date: Thu, 4 Jun 1998 02:52:13 -0400
- Organization: Wolfram Research, Inc.
- References: <6kpu19$sck@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Russell Towle wrote: > > Hi all, > > Recent discussion of "waterfall plots" prompts me to pose a somewhat > related query. I work with digital elevation model data sets from the > U.S.G.S. to produce contour maps, using ListContourPlot under > Mathematica 2.2. I would like to be able to produce old-style > quasi-contour maps using "hacheurs," in which the contours themselves > are not drawn, but instead, line segments at right angles to the > contour lines, of lengths inversely proportional to steepness of slope > (short hacheurs->steep slope). Any ideas? > > Russell Towle > Giant Gap Press: books on California history, digital topographic maps > P.O. Box 141 > Dutch Flat, California 95714 > ------------------------------ > Voice: (916) 389-2872 > e-mail: rustybel at foothill.net > ------------------------------ One possibility might be to use the lists of {x,y,z} to create an InterpolatingFunction for z = f(x,y). Then (I think) you'd want to plot the vector field 1/|gradient|^2*gradient, possibly offset if you want these centered on the contour lines rather than emanating therefrom. Daniel Lichtblau Wolfram Research