Title: | Plot the Australian Coastline and States |
---|---|
Description: | Functions for plotting Australia's coastline and state boundaries. |
Authors: | Bill Venables [aut] (S original), Kurt Hornik [aut, cre] (<https://orcid.org/0000-0003-4198-9911>, R port) |
Maintainer: | Kurt Hornik <[email protected]> |
License: | GPL-2 |
Version: | 1.0-22 |
Built: | 2024-11-09 06:08:04 UTC |
Source: | https://github.com/cran/oz |
Plot the Australian coastline and states.
oz(states = TRUE, coast = TRUE, xlim = NULL, ylim = NULL, add = FALSE, ar = 1, eps = 0.25, sections = NULL, visible = NULL, ...) ozRegion(states = TRUE, coast = TRUE, xlim = NULL, ylim = NULL, eps = 0.25, sections = NULL, visible = NULL)
oz(states = TRUE, coast = TRUE, xlim = NULL, ylim = NULL, add = FALSE, ar = 1, eps = 0.25, sections = NULL, visible = NULL, ...) ozRegion(states = TRUE, coast = TRUE, xlim = NULL, ylim = NULL, eps = 0.25, sections = NULL, visible = NULL)
states |
logical flag: include mainland internal state boundaries? |
coast |
logical flag: include coastline? |
xlim |
optional limits for the x-axis (longitude). |
ylim |
optional limits for the y-axis (latitude). (N.B. all latitudes for Australia are south, and hence are NEGATIVE.) |
add |
logical flag. If TRUE, the plot is superimposed on an existing plot. Otherwise, a new plot is generated. |
ar |
aspect ratio: longitude to latitude. |
eps |
If |
sections |
integer vector specifying which |
visible |
integer vector specifying which of the sections are actually to appear on the plot. |
... |
optional arguments which will be passed through
|
Graphical parameters (see par()
) may also be supplied as
arguments to this function.
ozRegion
returns an object of class "ozRegion"
,
which is a list with the following elements:
rangex
and rangey
,
giving the range of values to be plotted; and lines
,
a list of lists, where each sub-list describes a line to draw
via numeric elements x
and y
.
oz() # the lot oz(states=FALSE) # coastlines only oz(sections=6) # Tasmania oz(sections=c(7,8,10,12,14,16)) # South Australia oz(sections=c(3,11:13), visible=c(3,13))# plot Queensland, but show just # coast and border with NSW.
oz() # the lot oz(states=FALSE) # coastlines only oz(sections=6) # Tasmania oz(sections=c(7,8,10,12,14,16)) # South Australia oz(sections=c(3,11:13), visible=c(3,13))# plot Queensland, but show just # coast and border with NSW.
Plot the named Australian state along with its coastline.
nsw(...) nt(...) qld(...) sa(...) tas(...) vic(...) wa(...)
nsw(...) nt(...) qld(...) sa(...) tas(...) vic(...) wa(...)
... |
arguments to be passed on to |