Plots the unknowns (or the variables in idxs) against time with base
graphics.
Usage
# S3 method for class 'SciMLSolution'
plot(
x,
idxs = NULL,
n = 500L,
xlab = NULL,
ylab = NULL,
type = "l",
lty = 1,
col = NULL,
legend = TRUE,
...
)Arguments
- x
A solution.
- idxs
Variables or expressions to plot against time (a vector of state indices plots each of them); a list of two plots the first against the second (a phase plot).
- n
Number of interpolation points for dense solutions.
- xlab, ylab
Axis labels; a phase plot labels its axes with the two variables unless they are given.
- type, lty, col
Line settings, as in
graphics::matplot().- legend
Draw a legend of the plotted variables.
- ...
Passed to
graphics::matplot().