R: Plot a Tessellation on a Linear Network

plot.lintess {spatstat} | R Documentation

## Plot a Tessellation on a Linear Network

### Description

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

### Usage

    ## S3 method for class '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.

### Author(s)

Adrian Baddeley Adrian.Baddeley@curtin.edu.au

### See Also

`lintess`

### Examples

       X <- runiflpp(7, simplenet)
       Z <- divide.linnet(X)
       plot(Z, main="tessellation on network")
       points(as.ppp(X))

[Package spatstat version 1.54-0 Index]