measured hourly values file (table), where
the first column is the series' ID
sim
simulated hourly list (output of
Th_int_series)
series
names of the seris to plot. If NULL,
plots all the series
chart.start
start date for the plotting. Format
example: "1Jan2000"
chart.end
end date for the plotting. Format
example: "1Jan2000"
date.format
input date format for measurements
(formats for function chron). Default is "ymd"
missing_code
code (either real or character) for
missing values in measurements. Default is NA
wait
lag time (seconds) between plot appearance on
the screen (default is 1 second)
plot.leg
logical: if TRUE (default) legends
are plotted
leg.pos
position of legends (only if
plot.leg = TRUE). Default is "bottomright".
Values for par can be passed to function
Value
A plot with two curves: measured values and hourly
interpolations
Note
If daily minimum and maximum values are the absolute ones
for each day, the interpolated curve will be generally
either higher (maximum) or lower (minimum) than hourly
measurements, which are mean hourly values (hence,
slightly lower and higher than the absolute daily ones,
respectively). This may explain an apparent mismatch
between the two curves.
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(Interpol.T)
Loading required package: date
Loading required package: chron
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/Interpol.T/plot_meas_sim.Rd_%03d_medium.png", width=480, height=480)
> ### Name: plot_meas_sim
> ### Title: Plots hourly curves
> ### Aliases: plot_meas_sim
>
> ### ** Examples
>
> data(Trentino_hourly_T)
> stations <- c("T0001","T0010","T0129")
> plot_meas_sim(meas = h_d_t, sim = Th_int_list, series=stations,
+ missing_code = -999.9, chart.start = "1Feb2004",
+ chart.end = "29Feb2004", leg.pos = "top")
>
>
>
>
>
> dev.off()
null device
1
>