  1.  NAME

  crfp2 - Plot raw and smoothed velocities

  2.  SYNOPSIS

  crfp2(year, psfile, ax, RefMatName, SmMatName, min_speed, max_speed,
  max_gap_ratio, cruise, note )

  3.  DESCRIPTION

  This is a modified version of Matlab function callrefp which uses more
  parameters. It is used to plot raw and smoothed position fixes. It can
  be called from Matlab script crfp(1m). Parameters min_speed, max_speed
  and max_gap_ratio should have the same value as those used in smoothr.

  This implementation will also calculates the velocity uncertainty
  between raw and smoothed velocities, giving an idea of smoothing
  effects, and therefore data quality.

  4.  PARAMETERS

     year
        Base year used in input files.

     psfile
        Name for output postscript file.

     ax Vector with start time,time intervall,start velocity and
        velocity intervall for plot axes.

     RefMatName
        Name of output mat file from refabs (parsed through ref2mat).

     SmMatName
        Name of output mat file from smoothr (parsed through sm2mat).

     min_speed
        Minimal allowed ship speed for processing good fixes.

     max_speed
        Maximal allowed ship speed for processing good fixes.

     max_gap_ratio
        The maximal gap ratio allowed for processing good fixes.

     cruise
        String to insert in the title.

     note
        Additionnal string to print on plot.

  5.  AUTHORS

  Pierre Jaccard, Geophysical Institute, University of Bergen, 1999

