Description Usage Arguments Details See Also Examples
Basic X-Y plotting that follows USQ colour and typography guidelines that uses (hopefully) sensible defaults.
1 2 3 4 5 6 7 8 9 10 11 12 |
x |
Values to be plotted on x-axis. |
y |
Values to be used on y-axis. Optional. |
main |
Main title text |
sub |
Subtitle text below x-axis label |
xlab |
X-axis label. Optional, if blank will default to data supplied label. |
ylab |
Y-axis label. Optional, if blank will default to data supplied label if one is available. |
xlim |
Numeric value for x-axis limits. Optional. |
ylim |
Numeric value for y-axis limits. Optional. |
col |
Colour to use as fill and outline for boxes and outlier points as a digit. Defaults to "usq charcoal". There are fifteen colours that can be used, see Details for more. |
... |
Arguments to be passed to methods, such as graphical parameters
(see
|
Names of colours for use in plots from the USQ Visual Identity Palette are
available from link{usq_cols}
.
plot
for full documentation of the basic plotting
capabilities.
1 2 3 4 5 6 | library(datasets)
plot_usq(airquality$Ozone,
col = "usq charcoal",
main = "Air Quality",
xlab = "Ozone")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.