https://github.com/cran/spatstat
Revision 4fe059206e698a4b7135d792f3d533b173ecfe77 authored by Adrian Baddeley on 16 May 2012, 12:44:15 UTC, committed by cran-robot on 16 May 2012, 12:44:15 UTC
1 parent df59a11
Tip revision: 4fe059206e698a4b7135d792f3d533b173ecfe77 authored by Adrian Baddeley on 16 May 2012, 12:44:15 UTC
version 1.27-0
version 1.27-0
Tip revision: 4fe0592
plot.linim.Rd
\name{plot.linim}
\alias{plot.linim}
\title{
Plot Pixel Image on Linear Network
}
\description{
Given a pixel image on a linear network,
the pixel values are displayed
either as colours or as line widths.
}
\usage{
\method{plot}{linim}(x, ..., style = c("colour", "width"), scale, adjust = 1)
}
\arguments{
\item{x}{
The pixel image to be plotted. An object of class \code{"linim"}.
}
\item{\dots}{
Extra graphical parameters, passed to \code{\link[spatstat]{plot.im}}
if \code{style="colour"}, or to \code{\link{polygon}}
if \code{style="width"}.
}
\item{style}{
Character string specifying the type of plot. See Details.
}
\item{scale}{
Physical scale factor for representing the pixel values as
line widths.
}
\item{adjust}{
Adjustment factor for the default scale.
}
}
\details{
This is the \code{plot} method for objects
of class \code{"linim"}. Such an object represents
a pixel image defined on a linear network.
If \code{style="colour"} (the default) then
the pixel values of \code{x} are plotted as colours,
using \code{\link[spatstat]{plot.im}}.
If \code{style="width"} then
the pixel values of \code{x} are used to determine the widths of
thick lines centred on the line segments of the linear network.
}
\value{
Null.
}
\author{
Adrian Baddeley
\email{Adrian.Baddeley@csiro.au}
\url{http://www.maths.uwa.edu.au/~adrian/}
}
\seealso{
\code{\link{linim}},
\code{\link[spatstat]{plot.im}},
\code{\link{polygon}}
}
\references{
Ang, Q.W., Baddeley, A. and Nair, G. (2012)
Geometrically corrected second-order analysis of
events on a linear network, with applications to
ecology and criminology.
To appear in \emph{Scandinavian Journal of Statistics}.
}
\examples{
example(linim)
plot(X)
plot(X, style="width")
}
\keyword{spatial}
Computing file changes ...