[Ax,Lhs,Rhs,Range] = plotyy(X,Y,...)
[Ax,Lhs,Rhs,Range] = plotyy(Range,X,Y,...)
Range
[ numeric ] - Date range; if not specified the entire range of the input tseries object will be plotted.
X
[ tseries ] - Input tseries object whose columns will be plotted and labelled on the LHS.
Y
[ tseries ] - Input tseries object whose columns will be plotted and labelled on the RHS.
Ax
[ handle | numeric ] - Handles to the LHS and RHS axes.
Lhs
[ handle | numeric ] - Handles to series plotted on the LHS axis.
Rhs
[ handle | numeric ] - Handles to series plotted on the RHS axis.
Range
[ handle | numeric ] - Actually plotted date range.
'coincide='
[ true
| false
] - Make the LHS and RHS y-axis grids coincide.
'lhsPlotFunc='
[ @area
| @bar
| @plot
| @stem
] - Function that will be used to plot the LHS data.
'lhsTight='
[ true
| false
] - Make the LHS y-axis tight.
'rhsPlotFunc='
[ @area
| @bar
| @plot
| @stem
] - Function that will be used to plot the RHS data.
'rhsTight='
[ true
| false
] - Make the RHS y-axis tight.
See help on tseries/plot
and the built-in function plotyy
for all options available.