This function plots the parameters of an Local Climate Zone map.
Usage
lcz_plot_parameters(
x,
iselect = "",
all = FALSE,
inclusive = FALSE,
isave = FALSE,
save_extension = "png",
...
)
Arguments
- x
The LCZ map in SpatRaster in a stack format.
- iselect
Character vector. Specify one or more parameter names to retrieve specific parameters. For example, "SVF2" to get the minimum Sky View Factor, or c("z0", "BSF2") to select multiple parameters. See the complete parameter list here: https://bymaxanjos.github.io/LCZ4r/articles/Introd_general_LCZ4r.html#retrieve-and-visualize-lcz-parameters.
- all
Logical, specifying whether to save all selected parameters into LCZ4r_output. Default is FALSE.
- inclusive
Set to TRUE to a colorblind-friendly palette.
- isave
Logical, indicating whether to save the plot to your directory. Default is FALSE.
- save_extension
File format for saving the plot. Options: "png", "jpg", "jpeg", "tif", "pdf", "svg" (default is "png").
- ...
An optional modify axis, legend, and plot labels: subtitle, and caption. It does not work with title.
Examples
if (FALSE) { # \dontrun{
# Plot the minimum Sky View Factor (SVF1) for your city
lcz_plot_parameters(lcz_map, iselect = "SVF1")
# Plot multiple parameters and save them to the LCZ4r_output directory
lcz_plot_parameters(lcz_map, iselect = c("BSF3", "AH3"))
} # }