plot_region: Plot region of Australia

Description Usage Arguments Value Note

Description

Plot region of Australia

Usage

1
2
3
4
5
plot_region(.polygonal.data, city = c("PER", "ADL", "MEL", "SYD", "BNE"),
  coord_lines = c("none", "latlon", "lat", "lon"),
  scale_fill_manual_args = NULL, scale_fill_gradientn_args = NULL,
  polygon_outline_colour = "black", city_inset_scale = 15,
  title = TRUE, base_size = 25, base_family = "", title.size = 25)

Arguments

.polygonal.data

Polygonal data (of Australia). See draw_electoral_divisions_map.

city

Which city to plot

coord_lines

Plot grid lines at 0.1 intervals.

scale_fill_manual_args, scale_fill_gradientn_args

A list of arguments to pass to scale_fill_manual or scale_fill_gradientn.

polygon_outline_colour

The outline of polygons.

city_inset_scale

Scale relative to Australia.

title

(logical) Should a standard ggtitle be added to each city?

base_size, base_family

Passed to theme_map.

title.size

The base size of the plot, in points.

Value

A list of three elements, vwidth the width of the inset on the device, vheight the height of the inset on the device, and p the plot.

Note

This function should not be called directly. It is intended to be used to plot insets on a map generated through draw_electoral_divisions_map.


HughParsonage/grattanElectionMaps documentation built on May 7, 2019, 5:02 a.m.