R: Plot osmar object

plot.osmar {osmar} | R Documentation

## 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

      ## 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

[Package osmar version 1.1-7 Index]