Description Usage Arguments Value See Also Examples
Plots a tile plot of a single Hi-sAFe voxels output variable. If a single date is provided, SimulationName is used as the column facet. Otherwise, Date is used as the column facet.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
hop |
An object of class hop. |
variable |
A character string of the name of the variable to plot. |
date.min |
A character vector containing the minimum date (yyyy-mm-dd) to include.
If |
date.max |
A character vector containing the minimum date (yyyy-mm-dd) to include.
If |
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 voxels to include. If |
Y |
A numeric vector of the y values of the voxels to include. If |
Z |
A numeric vector of the z values of the voxels to include. If |
summarize.by |
One of 'x', 'y', or 'z', indicating an axis over which to average voxel values.
If |
vline.dates |
A character vector of dates (yyyy-mm-dd) at which to plot dashed vertical reference lines.
If |
plot |
If |
Returns ggplot object.
Other hisafe plot functions:
plot_hisafe_annualcells()
,
plot_hisafe_bg()
,
plot_hisafe_cells()
,
plot_hisafe_monthcells()
,
plot_hisafe_scene()
,
plot_hisafe_tstress()
,
plot_hisafe_ts()
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 waterAvailable:
tile.plot <- plot_hisafe_voxels(mydata, "waterAvailable", paste(1998, 6:8, 1, sep = "-"))
# Once you have the plot object, you can display it and save it:
tile.plot
ggsave_fitmax("tiled_waterAvailable.png", tile.plot)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.