plot.osmar: Plot osmar object

Description Usage Arguments

View source: R/osmar-plotting.R

Description

Simple plotting functions to visualize osmar objects. Note that for more complex plots, we suggest to convert the objects into sp and use their plotting functionality.

Usage

1
2
3
4
5
6
7
## S3 method for class 'osmar'
plot(x, way_args = list(col = gray(0.7)),
  node_args = list(pch = 19, cex = 0.1, col = gray(0.3)), ...)

plot_nodes(x, add = FALSE, ...)

plot_ways(x, add = FALSE, xlab = "lon", ylab = "lat", ...)

Arguments

x

An osmar object

way_args

A list of parameters for plotting ways

node_args

A list of parameters for plotting nodes

...

Ignored

add

New plot device or plot on existing onde

xlab

A x-axis label

ylab

A y-axis label


osmar documentation built on May 2, 2019, 6:15 p.m.

Related to plot.osmar in osmar...