plot.avar {avar}R Documentation

Plot Allan Deviation

Description

Displays a plot of Allan variance with its corresponding pointwise confidence intervals.

Usage

## S3 method for class 'avar'
plot(
  x,
  units = NULL,
  xlab = NULL,
  ylab = NULL,
  main = NULL,
  col_ad = NULL,
  col_ci = NULL,
  nb_ticks_x = NULL,
  nb_ticks_y = NULL,
  legend_position = NULL,
  ci_ad = NULL,
  point_cex = NULL,
  point_pch = NULL,
  text_legend_cex = 1,
  ...
)

Arguments

x

An avar object.

units

A string that specifies the units of time plotted on the x axis.

xlab

A string that gives a title for the x axis.

ylab

A string that gives a title for the y axis.

main

A string that gives an overall title for the plot.

col_ad

A string that specifies the color of the line allan variance line.

col_ci

A string that specifies the color of the shaded area covered by the confidence intervals.

nb_ticks_x

An integer that specifies the maximum number of ticks for the x-axis.

nb_ticks_y

An integer that specifies the maximum number of ticks for the y-axis.

legend_position

A string that specifies the position of the legend (use legend_position = NA to remove legend).

ci_ad

A boolean that determines whether to plot the confidence interval shaded area.

point_cex

A double that specifies the size of each symbol to be plotted.

point_pch

A double that specifies the symbol type to be plotted.

text_legend_cex

A double that specifies the size of the legend text.

...

Additional arguments affecting the plot.

Value

A plot of the Allan deviation and relative confidence interval for each scale.

Author(s)

Stephane Guerrier, Nathanael Claussen and Justin Lee

Examples


set.seed(999)
Xt = rnorm(10000)
av = avar(Xt)

plot(av)
plot(av, main = "Simulated white noise", xlab = "Scales")
plot(av, units = "sec", legend_position = "topright")
plot(av, col_ad = "darkred", col_ci = "pink")


[Package avar version 0.1.3 Index]