| plot.osmar {osmar} | R Documentation |
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.
## 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",
...)
x |
An |
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 |