MS_plot_trace

MS_PLOT_TRACE - Plot one or more pairs of orthogonal traces
MS_plot_trace(time, T00, T90, ...)
Inputs:
   time (row vector)         : Series of time points where amplitudes
                               are known (s)
   T00 (row vector / matrix) : Series of amplitudes in first direction.
   T90 (row vector / matrix) : Series of amplitudes in second
                               direction.
Usage:
    MS_plot_trace(time, T00, T90): If T00 and T90 are row vectors, plot          amplitudes of a single trace as two curves on time axis. For
        multiple traces T00 and T90 for each trace can be 'stacked' to
        form a matrix, e.g. MS_plot_trace(time,[T00a;T90b],[T00a;T90b]),
        but note that these must be on a common time axis. Subplots are
        then used to draw each trace.
    MS_plot_trace(time, T00, T90, 'plots', plotstring): Alter the kind
        and/or number of plots for each trace. The variable plotstring
        is a series of single letter codes, each letter causes
        MS_plot_trace to generate a different kind of plot (again
        subplots may be used for multiple kinds of plot). Permitted
        letter codes are 'w': the default plot type described above;
        'd': plot of particle displacement, i.e. T00 vs T90.
    MS_plot_trace(time, T00, T90, 'headings', {'first trace name'; ...
        'second trace name'}): Give names to each trace in the plot.