.if n .ds Q \&"
.if t .ds Q ``
.if n .ds U \&"
.if t .ds U ''
.TH trsp2 3m "CODAS Utilities" "GFI"
.tr \&
.nr bi 0
.nr ll 0
.nr el 0
.de DS
..
.de DE
..
.de Pp
.ie \\n(ll>0 \{\
.ie \\n(bi=1 \{\
.nr bi 0
.if \\n(t\\n(ll=0 \{.IP \\(bu\}
.if \\n(t\\n(ll=1 \{.IP \\n+(e\\n(el.\}
.\}
.el .sp
.\}
.el \{\
.ie \\nh=1 \{\
.LP
.nr h 0
.\}
.el .PP
.\}
..
.SH NAME

.Pp
\fBtrsp2\fP - Plot transport data from \fBadcpsect\fP

.SH SYNOPSIS

.Pp
\fBtrsp2\fP(\fIyear_base\fP, \fIx_var\fP, \fIgname\fP, \fIcruise_id\fP,
\fIplot_title\fP
)

.SH DESCRIPTION

.Pp
This function is called by \fBtrsp1\fP(1m) to plot the transport data
generated by \fBadcpsect\fP with output product \fBtransport\fP.
.SH PARAMETERS

.Pp
The following parameters must be edited:
.nr ll +1
.nr t\n(ll 2
.if \n(ll>1 .RS
.IP "\fByear_base\fP  "
.nr bi 1
.Pp
Year base used in \fBadcpsect\fP.
.Pp
.IP "\fBx_var\fP  "
.nr bi 1
.Pp
Index number for \fBx\fP-variable on the plot. Possible
values are:
.nr ll +1
.nr el +1
.nr t\n(ll 1
.nr e\n(el 0 1
.af e\n(el \*(f\n(el
.if \n(ll>1 .RS
.nr bi 1
.Pp
longitude
.nr bi 1
.Pp
latitude
.nr bi 1
.Pp
time
.if \n(ll>1 .RE
.nr el -1
.nr ll -1
.Pp
.IP "\fBgname\fP  "
.nr bi 1
.Pp
Generic name of mat files from \fBadcpsect\fP. This is the same as
the \fBoutput\fP parameter in the \fBadcpsect\fP configuration file.
.Pp
.IP "\fBcruise_id\fP  "
.nr bi 1
.Pp
String containing the cruise identification code.
.Pp
.IP "\fBplot_title\fP  "
.nr bi 1
.Pp
String containing the title for the plot.
.Pp
.if \n(ll>1 .RE
.nr ll -1
.SH FILES

.Pp

.nr ll +1
.nr t\n(ll 0
.if \n(ll>1 .RS
.nr bi 1
.Pp
trsp.ps
.if \n(ll>1 .RE
.nr ll -1
.SH AUTHORS

.Pp
Pierre Jaccard, Geophysical Institute, University of Bergen, 1999
