precintcon (version 2.3.0)

pplot.pcp: Plot Precipitation Concentration Period per Year

Description

Plots the Precipitation Concentration Period per year of a precipitation serie.

Usage

pplot.pcp(..., xlab = "Year", ylab = "PCP", ylim = c(0,360), legend = NULL, fontsize = 10, axis.text.color = "black", export = FALSE, export.name = "pcd_plot.png", width = 8.6, height = 7.5, units = "cm")

Arguments

xlab
the text for the x axis. (Default value: "Year")
ylab
the text for the y axis. (Default value: "PCD")
ylim
the limits of the y axis. (Default value: c(0, 360))
legend
the text vector for the legend items. If NULL the legends will be equals to the variable names. (Default value: NULL)
fontsize
the font size value in pt. (Default value: 10)
axis.text.color
the legend colors. (Default value: "black")
export
the logical value for defining whether the graph should be export to a file or not. (Default value: FALSE)
export.name
the text for defining the exported file name. It is only used if export = TRUE. (Default value: "pcd_plot.png")
width
the number for defining the exported graph width. It is only used if export = TRUE. (Default value: 8.6)
height
the number for defining the exported graph height. It is only used if export = TRUE. (Default value: 7.5)
units
the text for defining the units of the height and width parameters. It is only used if export = TRUE. (Default value: "cm")
...
a set of daily or monthly precipitation series.

References

Zhang LJ, Qian YF (2003) Annual distribution features of precipitation in China and their interannual variations. J Acta Meteorological Sinica 17:146-163

See Also

pcp read.data

Examples

Run this code
##
# Loading the daily precipitation serie.
data(daily)

##
# Plotting PCP per year
pplot.pcp(daily)

Run the code above in your browser using DataLab