SYNOPSIS

PERL PROGRAM NAME:

AUTHOR: Juan Lorenzo (Perl module only)

DATE:

DESCRIPTION:

Version:

USE

NOTES

Examples

SYNOPSIS

SEISMIC UNIX NOTES SPSPLOT - plot a triangulated sloth function s(x,z) via PostScript

spsplot <modelfile >postscriptfile [optional parameters]		



Optional Parameters:							

gedge=0.0             gray to draw fixed edges (in interval [0.0,1.0])

gtri=1.0              gray to draw non-fixed edges of triangles 	

gmin=0.0              min gray to shade triangles (in interval [0.0,1.0])

gmax=1.0              max gray to shade triangles (in interval [0.0,1.0])

sgmin=minimum s(x,z)  s(x,y) corresponding to gmin 			

sgmax=maximum s(x,z)  s(x,y) corresponding to gmax 			

xbox=1.5              offset in inches of left side of axes box 	

ybox=1.5              offset in inches of bottom side of axes box	

wbox=6.0              width in inches of axes box			

hbox=8.0              height in inches of axes box			

xbeg=xmin             value at which x axis begins			

xend=xmax             value at which x axis ends			

dxnum=0.0             numbered tic interval on x axis (0.0 for automatic)

fxnum=xmin            first numbered tic on x axis (used if dxnum not 0.0)

nxtic=1               number of tics per numbered tic on x axis	

gridx=none            grid lines on x axis - none, dot, dash, or solid

labelx=               label on x axis					

zbeg=zmin             value at which z axis begins			

zend=zmax             value at which z axis ends			

dznum=0.0             numbered tic interval on z axis (0.0 for automatic)

fznum=zmin            first numbered tic on z axis (used if dynum not 0.0)

nztic=1               number of tics per numbered tic on z axis	

gridz=none            grid lines on z axis - none, dot, dash, or solid

labelz=               label on z axis					

labelfont=Helvetica   font name for axes labels			

labelsize=12          font size for axes labels			

title=                title of plot					

titlefont=Helvetica-Bold  font name for title				

titlesize=24          font size for title				

titlecolor=black      color of title					

axescolor=black       color of axes					

gridcolor=black       color of grid					

style=seismic         normal (z axis horizontal, x axis vertical) or	

                      seismic (z axis vertical, x axis horizontal)	



Note:  A value of gedge or gtri outside the interval [0.0,1.0]	

results in that class of edge not being drawn.			







Author:  Dave Hale, Colorado School of Mines, 10/18/90

MODIFIED: Craig Artley, Colorado School of Mines, 03/27/94

   Tweaks to improve PostScript header, add basic color support.



NOTE:  Have observed errors in output when compiled with optimization

   under NEXTSTEP 3.1.  Caveat Emptor.



Modified: Morten Wendell Pedersen, Aarhus University, 23/3-97

          Added ticwidth,axeswidth, gridwidth parameters 

User's notes (Juan Lorenzo) untested

CHANGES and their DATES

Import packages

instantiation of packages

Encapsulated hash of private variables

sub Step

collects switches and assembles bash instructions by adding the program name

sub note

collects switches and assembles bash instructions by adding the program name

sub clear

sub axescolor

sub dxnum

sub dznum

sub fxnum

sub fznum

sub gedge

sub gmax

sub gmin

sub gridcolor

sub gridx

sub gridz

sub gtri

sub hbox

sub labelfont

sub labelsize

sub labelx

sub labelz

sub nxtic

sub nztic

sub sgmax

sub sgmin

sub style

sub title

sub titlecolor

sub titlefont

sub titlesize

sub wbox

sub xbeg

sub xbox

sub xend

sub ybox

sub zbeg

sub zend

sub get_max_index

max index = number of input variables -1