Description Usage Arguments Author(s) Examples
plotAnnualCycle plots the monthly or seasonal annual cycle of indicated models and the box-whisker plots of the underlying distribution.
This plotting routine extracts all the information from the input
data frame which has to be 'WUX-style' (see models2wux).
| 1 2 3 4 5 | 
| datain.df | WUX data frame obtained from  | 
| var.name | Character string of parameter in WUX dataset. | 
| subreg.subset | Vector of subregions to be plotted
(e.g.  | 
| season.subset | Vector of seasons to be plotted
(e.g.  | 
| plot.quantiles | 5 element vector indictaing the  quantiles to be plotted
(e.g.  | 
| quantile.method | An integer between 1 and 9 selecting one of the nine quantile types
in  | 
| mark.df | Subset of WUX data frame indicating the models to be marked. | 
| plot.legend | Boolean. Indicating if a plot legend indicating the models of  | 
| cex.names | Expansion factor for numeric axis labels in  | 
| cex.lab | Expansion factor for axis names (bar labels) in  | 
| ylab | Label for y-axis. | 
| main | Main title. | 
| out.file.directory | String of the directory where the plots are exported
(e.g.  | 
| out.file.name | Prefix of the file names of the plots. Files will be stored as
 | 
| copyright | Boolean. If a copyright message should be plotted. Default is FALSE. | 
| ... | Further optional arguments passed to  | 
Georg Heinrich g.heinrich@uni-graz.at
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## load WUX and read WUX test data
require(wux)
data(ensembles)
wuxtest.df <- subset(ensembles, subreg == "GAR")
## set data frame for model marks
mark.df <- subset(wuxtest.df, acronym %in% c("ICTP-REGCM3", "MPI-M-REMO"))
mark.df2 <- gdata::drop.levels(mark.df)
## Not run: plotAnnualCycle(wuxtest.df, "perc.delta.precipitation_amount", mark.df =
mark.df, plot.legend = TRUE, boxfill = "light yellow", notch =
FALSE,  boxwex = 0.5, ylim = c(-60,60), plot.quantiles =
c(0.02,0.25,0.5,0.75,0.98), boxcol = "red", ylab = "Precipitation
Amount [%]", main = "Annual cycle ", las = 1, copyright = TRUE)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.