Description Usage Arguments Details Value See Also Examples
Plots a tile plot of a single Hi-sAFe annualCells output variable.
1 2 3 4 5 6 7 8 9 10 |
hop |
An object of class hop. |
variable |
A character string of the name of the variable to color the tiles. |
simu.names |
A character string containing the SimulationNames to include. Use "all" to include all available values. |
years |
A numeric vector of the years within |
plot.x |
Either "x" or "y", indicating which axis of the simulation scene should be plotted on the x-axis of the plot. |
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 |
This function is very picky! You can only facet by two of the three manipulable variables: SimulationName, Year, Month. You must ensure that the one varibale not used for faceting is fixed at a single value.
Returns a ggplot object.
Other hisafe plot functions:
plot_hisafe_bg()
,
plot_hisafe_cells()
,
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 monthDirectParIncident:
tile.plot <- plot_hisafe_annualcells(mydata, "yieldMax")
# Once you have the plot object, you can display it and save it:
tile.plot
ggsave_fitmax("yield.png", tile.plot)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.