p_hypso {htsr} | R Documentation |
Plot the hypsometry curve of one or more basins
Description
Plot the hypsometry curve of one or more basins
Usage
p_hypso(
file,
abbrev,
prop = FALSE,
range = 50,
fact = 5,
title = "Title",
savefig = FALSE,
width = 8,
height = 6,
fileo = "plot.png"
)
Arguments
file |
Raster file list of elevation model of basin(s) |
abbrev |
List of abbreviated basin name(s) |
prop |
TRUE / FALSE (default) plot a proportion curve of altitude ranges |
range |
Width of altitude range (default = 50m) |
fact |
Exagerating factor of the areas (default=5) |
title |
Title of the plot (default = Title) |
savefig |
Save the plot in png (default FALSE) |
width |
Plot width (x 100 pixels) (default = 8) |
height |
Plot height (x 100 pixels) (default = 6) |
fileo |
Name of plot file with extension (default = "plot.png") |
Value
An object of ggplot2 class
Author(s)
P. Chevallier - Sep 2017- Jun 2023
[Package htsr version 2.1.5 Index]