plot.lintess

0th

Percentile

Plot a Tessellation on a Linear Network

Plot a tessellation or division of a linear network into tiles.

Keywords
hplot, spatial
Usage
# S3 method for lintess
plot(x, …,
        main, add = FALSE, style = c("segments", "image"), col = NULL)
Arguments
x

Tessellation on a linear network (object of class "lintess").

Arguments passed to segments (if style="segments") or to plot.im (if style="image") to control the plot.

main

Optional main title for the plot.

add

Logical value indicating whether the plot is to be added to an existing plot.

style

Character string (partially matched) indicating whether to plot the tiles of the tessellation using segments or to convert the tessellation to a pixel image and use plot.im.

col

Vector of colours, or colour map, determining the colours used to plot the different tiles of the tessellation.

Details

A tessellation on a linear network L is a partition of the network into non-overlapping pieces (tiles). Each tile consists of one or more line segments which are subsets of the line segments making up the network. A tile can consist of several disjoint pieces.

This function plots the tessellation on the current device. It is a method for the generic plot.

If style="segments", each tile is plotted using segments. Colours distinguish the different tiles.

If style="image", the tessellation is converted to a pixel image, and plotted using plot.im.

Value

(Invisible) colour map.

See Also

lintess

Aliases
  • plot.lintess
Examples
# NOT RUN {
   X <- runiflpp(7, simplenet)
   Z <- divide.linnet(X)
   plot(Z, main="tessellation on network")
   points(as.ppp(X))
# }
Documentation reproduced from package spatstat, version 1.59-0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.