XIMAGE - X IMAGE plot of a uniformly-sampled function f(x1,x2)

 ximage n1= [optional parameters] <binaryfile                    

 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)     

 ... change colormap interactively                         
 r                install next RGB - colormap                    
 R                install previous RGB - colormap                      
 h                install next HSV - colormap                    
 H                install previous HSV - colormap                      
 H                install previous HSV - colormap                      
 (Move mouse cursor out and back into window for r,R,h,H to take effect)

 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                 
 mpicks=/dev/tty  file to save mouse picks in             
 perc=100.0       percentile used to determine clip       
 clip=(perc percentile) clip used to determine bclip and wclip         
 bperc=perc       percentile for determining black clip value   
 wperc=100.0-perc percentile for determining white clip value   
 bclip=clip       data values outside of [bclip,wclip] are clipped
 wclip=-clip            data values outside of [bclip,wclip] are clipped
 cmap=hsv\'n\' or rgb\'m\'    \'n\' is a number from 0 to 13           
                        \'m\' is a number from 0 to 11           
                        cmap=rgb0 is equal to cmap=gray          
                        cmap=hsv1 is equal to cmap=hue           
                        (compatibility to older versions)  
 legend=0         =1 display the color scale               
 units=           unit label for legend                    
 legendfont=times_roman10    font name for title                 
 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              
 lwidth=16        colorscale (legend) width in pixels           
 lheight=hbox/3   colorscale (legend) height in pixels          
 lx=3             colorscale (legend) x-position in pixels
 ly=(hbox-lheight)/3    colorscale (legend) y-position in pixels 
 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
 label1=          label on axis 1                   
 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=ximage     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)  
 blank=0          This indicates what portion of the lower range
                   to blank out (make the background color).  The
                   value should range from 0 to 1.         
 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:                                              
 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

 Stewart A. Levin, Mobil - Added ps print option

 Brian Zook, Southwest Research Institute, 6/27/96, added blank option

 Toralf Foerster, Baltic Sea Research Institute, 9/15/96, new colormaps

 Berend Scheffers, Delft, colorbar (legend)

 Brian K. Macy, Phillips Petroleum, 11/27/98, added curve plotting option