| ox_plot_orientation | R Documentation |
Draws a polar histogram (rose plot) of edge compass bearings, the standard
visual summary of a street network's orientation order. Requires ggplot2.
ox_plot_orientation(
x,
num_bins = 36,
fill = "#0d3b66",
title = "Street orientation"
)
x |
An osm_graph or a numeric vector of bearings
(degrees), e.g. from |
num_bins |
Number of equal bearing sectors. Default |
fill |
Bar fill colour. Default the package blue. |
title |
Optional plot title. |
A ggplot object.
g <- example_osm_graph()
ox_plot_orientation(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.