plot_hisafe_scene: Plot a map of the simulated Hi-sAFe scene

Description Usage Arguments Value See Also Examples

View source: R/plot_scene.R

Description

Plots a map of the simulated Hi-sAFe scene.

Usage

1
plot_hisafe_scene(hip, simu.name = NULL, output.path = NULL)

Arguments

hip

An object of class hip.

simu.name

A character string of the name of the simulation within hip to plot. Required only if there is more than one simulation within hip.

output.path

A character string of the path where a pdf of the plot should be saved. If NULL, the default, then no plot is saved to the disk.

Value

Returns a ggplot object. Also writes a pdf of the plot to disk if output.path is provied.

See Also

Other hisafe plot functions: plot_hisafe_annualcells(), plot_hisafe_bg(), plot_hisafe_cells(), plot_hisafe_monthcells(), plot_hisafe_tstress(), plot_hisafe_ts(), plot_hisafe_voxels()

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# After reading in Hi-sAFe simulation data via:
# Once a hip object is created:
myhip <- define_hisafe(path = "./simulations", latitude = c(30,60))

# Plot the scene of one of the simulations:
plot_hisafe_scene(myhip)

## End(Not run)

kevinwolz/hisafer documentation built on Oct. 19, 2020, 4:43 p.m.