Description Usage Arguments Details Aesthetics See Also Examples
geom_line_sat()
draws a saturation line based on current psychrometric
chart's dry-bulb temperature (x axis) range and humidity ratio (y axis)
range.
1 2 3 4 5 6 7 8 9 |
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
units |
A single string indicating the units sytem to use. Should be
either |
pres |
A single number indicating the atmosphere pressure in Pa [SI] or
Psi [IP]. If |
n |
Number of points to interpolate along |
... |
Other arguments passed on to |
na.rm |
If |
geom_line_sat()
is based on ggplot2::geom_line()
, so you can further
customize the line style in the same way.
Normally there is no need to add another saturation line since ggpsychro()
calls geom_line_sat()
internally and makes sure that it is always rendered
at the last.
geom_line_sat()
is drawing using ggplot2::geom_line()
so support the
same aesthetics: alpha
, color
, linetype
and size
. It also has
aesthetics that control the calculation of the saturation line points
(required aesthetics are in bold):
1 2 3 4 5 | # by default, a saturation line is automatically added when calling 'ggpsychro()' function
ggpsychro()
# you can add another saturation line
ggpsychro() + geom_line_sat(units = "SI", pres = 101325, color = "blue", size = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.