next up previous
Next: Auxiliary Programs Up: rayinvr Previous: Additional Notes

RAYPLOT

 

A program to plot to the screen using the file p.out generated by RAYINVR as input.

Separate x and y scale factors may be applied to change the aspect ratio of the plots and multiple plots may be included in a single frame.

Files

Input file: p.out is the output file generated by RAYINVR

Input file: p.in contains the (x,y) coordinates (mm) of the
   origins of each plot if multiple plot panels are to be placed
   in a single plot frame; each (x,y) pair is contained on a 
   separate line in free-format. 
 
External plot routines: RAYPLOT is self-contained except  for the
   graphics calls inside the following CALCOMP or CALCOMP-like plot 
   routines: PLOTS, PLOT, NUMBER, SYMBOL, LINE, EMPTY, ERASE, PLOTND. 
   The file pltlib.f contains ALL these routines (and a few other 
   less important ones used by the graphics system where the 
   code was developed) and it will be necessary to replace the "call" 
   statements within each of these with their equivalents in the 
   local graphics package.

A "plot" here constitutes the graphics that occurs between successive 
erasures of the screen when running any of the graphics programs. Therefore,
each screen erasure is replaced by a resetting of the plot origin
according to the coordinates in the file p.in. Thus, for example,
the ray or traveltime diagrams for each shot may be organized
into a single plot frame, but each in its separate box, if isep>0.

Another purpose of RAYPLOT is for generating a minimum-traveltime raypath
diagram when using RAYINVR with i2pt>0. After running RAYINVR with i2pt>0
and iplot=0 or 2, run the program 2pt. The program 2pt produces a
bit mask file which will force only the minimum traveltime raypths to bg
plotted with RAYPLOT. Note the purpose of this is only for the case in 
which more than one ray group has the same corresponding value of ivray
when running RAYINVR so that it is possible for multiple raypaths to be 
traced to a single receiver when using i2pt>0. By plotting only the
minimum-traveltime raypaths, only the raypaths actually used in the
inversion are displayed, and hence an exact illustration of the model
coverage is obtained.

Other interactive input is for the parameters iroute and iseg which
are only needed for users with uniras graphics.



Ingo Pecher
Sat Mar 7 19:13:54 EST 1998