XWIGB - X WIGgle-trace plot of f(x1,x2)
via Bitmap
xwigb n1= [optional parameters] <binaryfile [>psplotfile]
X Functionality:
Button 1 Zoom
with rubberband box
Button 2 Show
mouse (x1,x2) coordinates while pressed
q or Q key Quit
s key Save
current mouse (x1,x2) location to file
p or P key Plot
current window with pswigb (only from disk files)
Required
Parameters:
n1
number of samples in 1st (fast) dimension
Optional Parameters:
d1=1.0
sampling interval in 1st dimension
f1=0.0
first sample in 1st dimension
n2=all
number of samples in 2nd (slow) dimension
d2=1.0
sampling interval in 2nd dimension
f2=0.0
first sample in 2nd dimension
x2=f2,f2+d2,... array of sampled values in 2nd dimension
mpicks=/dev/tty file to save mouse picks in
bias=0.0 data value
corresponding to location along axis 2
perc=100.0 percentile
for determining clip
clip=(perc percentile) data values <
bias+clip and > bias-clip are clipped
xcur=1.0 wiggle
excursion in traces corresponding to clip
wt=1 =0 for no
wiggle-trace; =1 for wiggle-trace
va=1
=0 for no variable-area; =1 for variable-area fill
verbose=1
=1 for info printed on stderr (0 for no info)
xbox=50
x in pixels of upper left corner of window
ybox=50
y in pixels of upper left corner of window
wbox=550
width in pixels of window
hbox=700
height in pixels of window
x1beg=x1min
value at which axis 1 begins
x1end=x1max
value at which axis 1 ends
d1num=0.0
numbered tic interval on axis 1 (0.0 for automatic)
f1num=x1min
first numbered tic on axis 1 (used if d1num not 0.0)
n1tic=1
number of tics per numbered tic on axis 1
grid1=none
grid lines on axis 1 - none, dot, dash, or solid
x2beg=x2min
value at which axis 2 begins
x2end=x2max
value at which axis 2 ends
d2num=0.0
numbered tic interval on axis 2 (0.0 for automatic)
f2num=x2min
first numbered tic on axis 2 (used if d2num not 0.0)
n2tic=1
number of tics per numbered tic on axis 2
grid2=none
grid lines on axis 2 - none, dot, dash, or solid
label2=
label on axis 2
labelfont=Erg14 font name for axes labels
title=
title of plot
titlefont=Rom22 font name for title
windowtitle=xwigb title on window
labelcolor=blue color for axes labels
titlecolor=red color for title
gridcolor=blue color for grid lines
style=seismic
normal (axis 1 horizontal, axis 2 vertical) or
seismic
(axis 1 vertical, axis 2 horizontal)
endian=
=0 little endian =1 big endian
interp=0
no interpolation in display
=1 use 8 point sinc interpolation
wigclip=0
If 0, the plot box is expanded to accommodate
the larger wiggles created by xcur>1. If this
flag is non-zero, the extra-large wiggles are
are clipped at the boundary of the plot box.
curve=curve1,curve2,...
file(s) containing points to draw curve(s)
npair=n1,n2,n2,...
number(s) of pairs in each file
curvecolor=color1,color2,...
color(s) for curve(s)
Notes:
Xwigb will try to detect the endian value of
the X-display and will
set it to the right value. If it gets
obviously wrong information the
endian value will be set to the endian value of the machine that
is
given at compile time as the value of CWPENDIAN defined in cwp.h
and set via the compile time flag ENDIANFLAG in Makefile.config.
The only time that you might want to change the value of the
endian
variable is if you are viewing traces on a machine with a
different
byte order than the machine you are creating
the traces on AND if for
some
reason the automaic detection of the display byte order fails.
Set endian to that of the machine you are viewing the traces on.
The interp flag is useful for making better quality wiggle trace
for
making plots from screen dumps. However, this flag assumes that
the
data are purely oscillatory. This option may not be appropriate
for all
data sets.
Currently, the curve file must have the
number of points specified
at the top of the file. This file is an ascii file with the
points
specified as (x1,x2) pairs, one pair to a
line. A "vector" of
curve
files and curve colors may
be specified as curvefile=file1,file2,etc.
and curvecolor=color1,color2,etc, and the number of pairs of
values
in each file as npair=npair1,npair2,...
.
AUTHOR:
Dave Hale, Colorado School of Mines, 08/09/90
Endian stuff by:
Morten Wendell Pedersen, Aarhus University
(visiting CSM, June 1995)
&
John Stockwell, Colorado School of Mines, 5 June 1995
Stewart A. Levin, Mobil - Added ps print
option
John Stockwell - Added
optional sinc interpolation
Stewart A. Levin, Mobil - protect title, labels in pswigb
call
Brian J. Zook, SwRI -
Added style=normal and wigclip flag
Brian K. Macy, Phillips Petroleum, 11/27/98, added curve plotting
option
Curve plotting notes: