plot_indices | R Documentation |
Determining the indices of the x and y variables of the current plot
plot_indices(zargs)
zargs |
argument list as passed from |
This is an auxiliary function useful, for example, when writing user-provided 1d and 2d plot functions.
A numeric(2)
containing the indices of the x and y variables to
be plotted in the current plot (the plot with number num
). If
the current plot is a 2d plot, the same variable is used twice.
This is exported so that one doesn't always have to figure out whether the variables (axes) in the current plot need to be switched manually.
Marius Hofert
Other tools for constructing your own plot1d and plot2d functions:
burst_aux()
,
burst()
,
check_zargs()
,
extract_1d()
,
extract_2d()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.