Description Usage Arguments Details Author(s) See Also Examples

View source: R/sl.plot.lines.R

Plot lines into a spheRlab plot.

1 | ```
sl.plot.lines(plot.init.res, lon, lat, col = "black", lwd = 1, lty = 1, ignore.visibility = FALSE)
``` |

`plot.init.res` |
a spheRlab plot specifics list as returned by |

`lon` |
a vector of length |

`lat` |
a vector of length |

`col` |
a line colour. |

`lwd` |
a line width. |

`lty` |
a line type. |

`ignore.visibility` |
a logical value indicating whether or not the line shall be attempted to be drawn completely even if it's classified partly or fully invisible, that is, outside the plot domain. |

If `lon`

and `lat`

contain no NAs, `N-1`

lines defined by any adjacent pairs of coordinates are drawn. Separate line segments can be drawn with a single call of `sl.plot.lines`

by concatenating their coordinate vectors with NAs inbetween.

This is one of the lowest-level plotting functions of spheRlab. First the visibility of the points is checked, which depends on the projection and plot domain boundaries. Lines for which both end points are invisible are not drawn. (This means that lines where only a middle segment is visible are not drawn!) Then for partly visible lines an intersection point with the boundary is computed and only the visible part is drawn. Of course the completely visible lines are drawn as well.

Helge Goessling

`sl.plot.polygon`

, `sl.plot.points`

1 | ```
## To be provided ...
``` |

helgegoessling/spheRlab documentation built on Sept. 29, 2018, 12:09 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.