iplot.opt {iplots}R Documentation

Modify parameters of an interactive plot

Description

This function modifies parameters of an iPlot.

Usage

iplot.opt(..., plot=iplot.cur())

Arguments

...

Parameters to modify

plot

Plot whose parameters are to be modified

Details

The following parameters are common to all plots. See help pages of individual plots for plot-specific parameters.

xlim

Range of the X axis (vector of two numbers).

ylim

Range of the Y axis (vector of two numbers).

col

Colors of the points. See iset.brush for details.

autoAdjustMargins

Whether iPlots should try to determine appropriate margin sizes. Set this to FALSE if you want to set the margins manually.

defaultMargins

Vector of default values for left, right, top and bottom margins.

mLeft

Size of left margin.

mRight

Size of right margin.

mTop

Size of top margin.

mBottom

Size of bottom margin.

fillColor

Fill color.

borderColor

Border color.

fillColorSel

Fill color when selected.

borderColorSel

Border color when selected.

fillColorDrag

Fill color of dragged bars.

COL_INVALID

Color of invalid elements.

COL_OUTLINE

Default line color.

COL_SELBG

Background color of selection rectangle. Defaults to selection color with alpha value 0.298.

COL_ZOOMBG

Background color of selection rectangle.

horizontalMedDist

Mean horizontal label distance.

horizontalMinDist

Minimal horizontal label distance.

verticalMedDist

Mean vertical label distance.

verticalMinDist

Minimal vertical label distance.

extQueryString

Extended query string.

rotateYLabels

Whether labels for the y axis should be rotated by the angle given by rotateYLabelsBy.

rotateYLabelsBy

The labels for the y axis are rotated by this amount of degrees if rotateYLabels is set to true.

title

Frame title.

Value

If no parameters (except for the plot) are specified, a list of the current parameters is returned.

See Also

iplot.list

Examples

data(iris)
attach(iris)
iplot(Sepal.Width,Petal.Width)
iplot.opt(xlim=c(1.5,5),col=Species)

[Package iplots version 1.1-8 Index]