qat (version 0.74)

qat_plot_lim_rule_sigma_2d: Plot a sigma LIM rule result

Description

A plot of the result of a dynamic lim rule check will be produced.

Usage

qat_plot_lim_rule_sigma_2d(flagvector, filename, measurement_vector = NULL, sigma_factor = NULL, meanofvector = NaN, sdofvector = NULL, measurement_name = "", directoryname = "", plotstyle = NULL)

Arguments

flagvector
The resulting flagvector of qat\_analyse\_lim\_rule\_sigma\_2d
filename
Name of the file without extension.
measurement_vector
The measurement vector, which should be plotted
sigma_factor
The sigma factor, which was used, when the test were performed.
meanofvector
The mean of the measurement vector
sdofvector
The standard deviation of the measurement vector
measurement_name
Name of the measurement.
directoryname
Directory, where the resulted file should be stored.
plotstyle
A list with a qat color scheme.

Value

No return value

Details

A plot will be produced, which base on the resulting flagvector of qat\_analyse\_lim\_rule\_sigma\_1d. Additional information on the parameters, which were used while performing the test, will be added to 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 under the given filename, with the extension png.

See Also

qat_plot_lim_rule_static_1d, qat_analyse_lim_rule_static_2d, qat_plot_lim_rule_dynamic_2d, qat_plot_lim_rule_sigma_2d

Examples

Run this code
vec <- array(rnorm(500), c(25,20))
result <- qat_analyse_lim_rule_sigma_2d(vec, 2)
# this example produce a file exampleplot_lim_sig.png in the current directory
qat_plot_lim_rule_sigma_2d(result$flagvector, "exampleplot_lim_sig", 
measurement_vector=vec, sigma_factor=result$sigma_factor, 
meanofvector=result$meanofvector, sdofvector=result$sdofvector, 
measurement_name="Result of Check")

Run the code above in your browser using DataLab