View source: R/custom_pm25DiurnalScales.R
custom_pm25DiurnalScales | R Documentation |
Add USFS AirFire-style x-axis and y-axis scales suitable for a plot showing PM2.5 data as a function of hour of the day.
custom_pm25DiurnalScales(
monitor = NULL,
ylim = NULL,
xlab = NULL,
ylab = "PM2.5 (µg/m3)",
yexp = c(0.05, 0.05),
xexp = c(0.05, 0.05),
offsetBreaks = FALSE
)
monitor |
A mts_monitor object.Should match the default dataset of the plot. |
ylim |
custom y-axis limits. This function will apply a default limit depending on the data. |
xlab |
Custom x-axis label. If |
ylab |
Custam y-axis label. |
yexp |
Vector of range expansion constants used to add some padding around the data on the y-axis, to ensure that they are placed some distance away from the axes. |
xexp |
Vector of range expansion constants used to add some padding around the data on the x-axis, to ensure that they are placed some distance away from the axes. |
offsetBreaks |
if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.