Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/qat_call_plot_lim_rule.R
A result of qat\_analyse\_lim\_rule\_static\_1d, qat\_analyse\_lim\_rule\_sigma\_1d or qat\_analyse\_lim\_rule\_dynamics\_1d will be plotted.
1 2 3 |
resultlist_part |
A list with the result, which is directly or indirectly produced by qat\_analyse\_lim\_rule\_static\_1d, qat\_analyse\_lim\_rule\_sigma\_1d or qat\_analyse\_lim\_rule\_dynamics\_1d. |
measurement_vector |
The measurement vector, which was tested |
time |
A vector of time elements with the length of the measurement vector |
height |
A vector of height elements with the length of the measurement vector |
lat |
A vector of latitude elements with the length of the measurement vector |
lon |
A vector of longitude elements with the length of the measurement vector |
measurement_name |
Name of the data, which will be used as an indicator in the plot |
directoryname |
Definition of the directory, where the plot should be stored |
basename |
Basic name of the resulting file |
plotstyle |
A list with a qat color scheme |
A plot will be produced, which base on the resulting list of qat\_analyse\_lim\_rule\_static\_1d, qat\_analyse\_lim\_rule\_sigma\_1d or qat\_analyse\_lim\_rule\_dynamics\_1d. The measurement\_name will be used as a title of the plot and the plotstyle list define the colors of the plot. When no plotstyle is defined the standard-colorscheme will be used. The resulting plot will be stored in the folder, which is defined by directory. As a filename the basename with additional information will be used (number of test and a label, which indicate which test was performed).
No return value.
Andre Duesterhus
qat_plot_lim_rule_dynamic_1d
, qat_plot_lim_rule_static_1d
, qat_plot_lim_rule_sigma_1d
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | vec <- rnorm(1000)
min_vector<-seq(-1,-2,length.out=1000)
max_vector<-seq(1,2,length.out=1000)
workflowlist_part <- list(minimum_value=-2, maximum_value=2,minimum_vector="vec1",
maximum_vector="vec2",minimum_vector_name="minimum vector",
maximum_vector_name="maximum vector", sigma_factor=2)
resultlist <- qat_call_lim_rule(vec, workflowlist_part, element=1, vec1=min_vector,
vec2=max_vector)
# this example produce the files exampleplot_1_lim_sigma.png, exampleplot_1_lim_static.png
# and exampleplot_1_lim_dynamic.png in the current directory
for (ii in 2:4) {
qat_call_plot_lim_rule(resultlist[[ii]], measurement_vector=vec,
measurement_name="Result of Check", basename="exampleplot")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.