
Last chance! 50% off unlimited learning
Sale ends in
Plot the coefficents of the terms of order 0 through m-1
of an
object of class Lfd
and length m
.
# S3 method for Lfd
plot(x, axes=NULL, ...)
invisible(NULL)
a linear differential operator object to be plotted.
Either a logical or a list or NULL
passed to plot.fd
.
logical whether axes should be drawn on the plot
list
a list used to create custom axes
used to create axes via
x$axes[[1]]
and x$axes[-1]
. The primary example of
this uses list("axesIntervals", ...)
, e.g., with
Fourier
bases to create CanadianWeather
plots
additional plotting arguments that can be used with function
plot
a plot of the linear differential operator object.
Lfd
, plot.fd
# Set up the harmonic acceleration operator
dayrange <- c(0,365)
Lbasis <- create.constant.basis(dayrange,
axes=list("axesIntervals"))
Lcoef <- matrix(c(0,(2*pi/365)^2,0),1,3)
bfdobj <- fd(Lcoef,Lbasis)
bwtlist <- fd2list(bfdobj)
harmaccelLfd <- Lfd(3, bwtlist)
oldpar <- par(no.readonly=TRUE)
plot(harmaccelLfd)
par(oldpar)
Run the code above in your browser using DataLab