Description Usage Arguments Value See Also Examples
Plots a tile plot of a single Hi-sAFe cells output variable. SimulationName is used as the column facet. Date is used as the row facet.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
hop |
An object of class hop. |
variable |
A character string of the name of the variable to color the tiles. |
dates |
A character vector (in the format "YYYY-MM-DD") or a vector of class Date of the dates to include. |
start.date |
If |
rel.dates |
A character vector (in the format "YYYY-MM-DD") or a vector of class Date of the dates from which to scale |
simu.names |
A character string containing the SimulationNames to include. Use "all" to include all available values. |
X |
A numeric vector of the x values of the cells to include. If |
plot.x |
Either "x" or "y", indicating which axis of the simulation scene should be plotted on the x-axis of the plot. |
N.arrow |
A character string indicating the color of the north arrow. String must be a valid color name passed to ggplot2.
Use |
trees |
Logical indicating if a point should be plotted at the location of each tree. |
canopies |
Logical indicating if an elipsoid should be plotted representing the size of each tree canopy. |
plot |
If |
mem.max |
An integer specifying the maximum number of days into the past to search
for cell data when no data is available for a given date within |
for.anim |
If |
cumu.scale |
If |
Returns a ggplot object.
Other hisafe plot functions:
plot_hisafe_annualcells()
,
plot_hisafe_bg()
,
plot_hisafe_monthcells()
,
plot_hisafe_scene()
,
plot_hisafe_tstress()
,
plot_hisafe_ts()
,
plot_hisafe_voxels()
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
# After reading in Hi-sAFe simulation data via:
mydata <- read_hisafe(path = "./")
# You can create a tile plot of relativeDirectParIncident:
tile.plot <- plot_hisafe_cells(mydata, "relativeDirectParIncident", paste(1998, 6:8, 1, sep = "-"))
# Once you have the plot object, you can display it and save it:
tile.plot
ggsave_fitmax("tiled_relativeDirectParIncident.png", tile.plot)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.