TOPO2 Name
TOPO2 Purpose
Make a shading array for a given data array.
Category
Calling Sequence
sh = topo2(z, az, ax) Inputs
z = array of elevations to shade. in
Keyword Parameters
Keywords
/SCALE means scale min and max shading to 0 and 1.
MIN=mn Scale min shading to mn instead of 0.
MAX=mx Scale max shading to mx instead of 1.
AZ=az light source angle from zenith in deg (def = 45).
AX=ax light source angle from x axis in deg (def = 45).
Outputs
sh = Returned shading array (0 to 1). out
Common Blocks
Notes
Modification History
R. Sterner, 2007 Jun 29
R. Sterner, 2007 Jul 05 --- Corrected ax,az.
Copyright (C) 2007, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.