qat (version 0.74)

qat_plot_noc_rule_1d: Plot a NOC rule result

Description

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

Usage

qat_plot_noc_rule_1d(flagvector, filename, measurement_vector = NULL, max_return_elements = 0, measurement_name = "", directoryname = "", plotstyle = NULL)

Arguments

flagvector
The resulting flagvector of qat\_analyse\_noc\_rule\_1d
filename
Name of the file without extension.
measurement_vector
The measurement vector, which should be plotted
max_return_elements
The number of maximum reruning elements, which was used in the test.
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\_noc\_rule\_1d. With additional information on the parameters, which were used while performing the test, this function will produce a more detailed 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_analyse_noc_rule_1d

Examples

Run this code
vec <- c(1,2,3,4,4,4,5,5,4,3,NaN,3,2,1)
result <- qat_analyse_noc_rule_1d(vec, 1)
# this example produce a file exampleplot_noc.png in the current directory
qat_plot_noc_rule_1d(result$flagvector, "exampleplot_noc", measurement_vector=vec, 
max_return_elements=result$max_return_elements, measurement_name="Result of Check")

Run the code above in your browser using DataCamp Workspace