lines.inla.mesh.segment {INLA} | R Documentation

## Draw `inla.mesh.segment` objects.

### Description

since `⁠23.08.18⁠`. Use `fmesher::lines.fm_segm()` or `fmesher::lines_rgl()` instead.

Draws a `inla.mesh.segment()` object with generic or `rgl` graphics.

### Usage

    ## S3 method for class 'inla.mesh.segment'
    lines(
      x,
      loc = NULL,
      col = NULL,
      colors = c("black", "blue", "red", "green"),
      add = TRUE,
      xlim = NULL,
      ylim = NULL,
      rgl = FALSE,
      ...
    )

### Arguments

`x` | An `inla.mesh.segment()` object.
`loc` | Point locations to be used if `x$loc` is `NULL`.
`col` | Segment color specification.
`colors` | Colors to cycle through if `col` is `NULL`.
`add` | If `TRUE`, add to the current plot, otherwise start a new plot.
`xlim` | X axis limits for a new plot.
`ylim` | Y axis limits for a new plot.
`rgl` | If `TRUE`, use `rgl` for plotting.
`...` | Additional parameters, passed on to graphics methods.

### Author(s)

Finn Lindgren finn.lindgren@gmail.com

### See Also

`inla.mesh.segment()`

[Package INLA version 26.02.05 Index]