Spark Online Training by Edureka

plot.osmar: Plot osmar object

Description Usage Arguments

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



Search within the osmar package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.