SYNOPSIS

PERL PROGRAM NAME:

AUTHOR: Juan Lorenzo (Perl module only)

DATE:

DESCRIPTION:

Version:

USE

NOTES

Examples

SYNOPSIS

SEISMIC UNIX NOTES SUCHART - prepare data for x vs. y plot

 suchart <stdin >stdout key1=sx key2=gx			



 Required parameters:						

 	none							



 Optional parameters:						

 	key1=sx  	abscissa 				

 	key2=gx		ordinate				

	outpar=null	name of parameter file			



 The output is the (x, y) pairs of binary floats		



 Examples:							

 suchart < sudata outpar=pfile >plot_data			

 psgraph <plot_data par=pfile title="CMG" \\			

	linewidth=0 marksize=2 mark=8 | ...			

 rm plot_data 							



 suchart < sudata | psgraph n=1024 d1=.004 \\			

	linewidth=0 marksize=2 mark=8 | ...			



 fold chart: 							

 suchart < stacked_data key1=cdp key2=nhs |			

            psgraph n=NUMBER_OF_TRACES d1=.004 \\		

	linewidth=0 marksize=2 mark=8 > chart.ps		







 Credits:

	SEP: Einar Kjartansson

	CWP: Jack K. Cohen



 Notes:

	The vtof routine from valpkge converts values to floats.

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 key1

sub key2

sub linewidth

sub n

sub outpar

sub par

sub get_max_index

max index = number of input variables -1