https://github.com/cran/fda
Raw File
Tip revision: 162fdbd4bc36e851c7abd22dd9b35cd24527f8e0 authored by J. O. Ramsay on 03 November 2009, 00:00:00 UTC
version 2.3.2
Tip revision: 162fdbd
plot.Lfd.Rd
\name{plot.Lfd}
\alias{plot.Lfd}
\title{
  Plot a Linear Differential Operator Object
}
\description{
  Plot the coefficents of the terms of order 0 through \code{m-1} of an
  object of class \code{Lfd} and length \code{m}.
}
\usage{
\method{plot}{Lfd}(x, axes=NULL, ...)
}
\arguments{
  \item{x}{
    a linear differential operator object to be plotted.
  }
  \item{axes}{
    Either a logical or a list or \code{NULL} passed to \code{plot.fd}.

    \itemize{
      \item{logical}{
	whether axes should be drawn on the plot
      }
      \item{list}{
	a list used to create custom \code{axes} used to create axes via
	\code{do.call(x$axes[[1]], x$axes[-1])}.  The primary example of
	this uses \code{list("axesIntervals", ...)}, e.g., with
	\code{Fourier} bases to create \code{CanadianWeather} plots
      }
    }
  }
  \item{\dots }{
    additional plotting arguments that can be used with function
    \code{plot}
  }
}
%\details{ }
\value{
  invisible(NULL)
}
\section{Side Effects}{
  a plot of the lindear differential operator object.
}
\seealso{
  \code{\link{Lfd}}, \code{\link{plot.fd}}
}
\examples{
#  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)
plot(harmaccelLfd)
}
% docclass is function
\keyword{smooth}
\keyword{hplot}
back to top