plot
Plot data series
Using a fints
object for the
tsobj
argument of plot
is not recommended. Use
a timetable
or table
instead for financial time series. For more information, see Convert Financial Time Series Objects fints to Timetables.
Description
plot(
plots the data series
contained in the object tsobj
)tsobj
. Each data series is a line.
plot
automatically generates a legend and dates on the
x-axis. Grid is turned on by default.
plot
uses the default color order as if plotting a matrix.
The plot
command automatically creates subplots when multiple
time series are encountered, and they differ greatly on their decimal scales. For
example, subplots are generated if one time series data set is in the 10s and
another is in the 10,000s.
plot(
plots the data series in tsobj
,linefmt
)tsobj
using the line format specified.
For a list of possible line formats, see plot
. The plot legend is not generated, but the dates on the
x-axis and the plot grid are. The specified line format is
applied to all data series; that is, all data series have the same line type.
plot(___,
specifies which data series is the volume. The volume is plotted in a subplot below
the other data series. If volumename
,bar
)bar = 1
, the volume is
plotted as a bar chart. Otherwise, a line plot is used.
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a