Learn R Programming

osmar (version 1.1-7)

plot.osmar: Plot osmar object

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

"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