=============================================================================================
  Generate phase residual or phase correction plots from autcln output or spcsnr output
  
  USAGE :    sh_oneway  -sites [sites] -prefix <pre> -autsum <file> -scale <val> -page <orient>
                        -num <num> -epochs <epochs> -elev -grdimage -grdview 
  
  OR 
  
  USAGE :    sh_oneway  -dphs [file] -type <opt> -minel <min> -scale <value> -page <orient> 
                        -grdimage -grdview -elev -grdscale <range> 
  
          [sites]  is the 4 char names of the sites whose residuals are to be plotted. Necessary 
                   (NOTE you can use a list of x-files, site names will be extracted from these) 
          <pre>    is the filename prefix found before the site name (DPH) default 
          <file>   is the autcln postfit summary file from which to extract the postfit RMS
                   from (autcln.post.sum) default
          <val>    is the scaling of the plot (0.5) default 
          <orient> is the orientation of the plot landscape (L), portrait (P) default 
          <num>    is the number of divisions for the data allowed values 1, 2, 3, (6) default
          <epochs> is the number of epochs used in the solution, 2880 default.
           -grdimage create plots using grdimage rather than pswiggle
           -grdview create 3D plots using grdview rather than pswiggle
           -elev   creates plots of elevation angle vs residual across all satellites. 
  
          [file] is the output file from spcsnr. Necessary 
          <opt>  is the type of phase corrections to plot. SNR or DPHS [default DPHS] 
          <min>  is the min elevation angle of phase corrections to plot (10) default 
          <range> is the scale range for grdimage plot. Eg -25/25/2 (-25 to 25 increments of 2) 
  
  Requires : Autcln was run in postfit mode with, phase residual output option turned on.
  
  Example :   sh_oneway -sites JPLM -autsum autcln.post.sum -prefix DPH -scale 0.5 -page L 
  Example :   sh_oneway -sites JPLM -autsum autcln.post.sum -prefix DPH -scale 0.5 -page L -elev 
  Example :   sh_oneway -dphs tubi1470.dphs -type DPHS -minel 10 -scale 0.5 -page L 
 
=============================================================================================