iplot {iplots}R Documentation

Interactive Scatterplot

Description

This function creates a new interactive scatterplot from the given data.

Usage

  iplot(x, y=NULL, xlab=NULL, ylab=NULL, ...)

Arguments

x Data for the x axis. It can be either a vector of values or a variable of an iset. If y is not given, this must be a list of one of these.
y Data for the y axis. It can be either a vector of values or a variable of an iset.
xlab Name for x variable.
ylab Name for y variable.
... All additional parameters are passed to iplot.opt. Many of the parameters used in plot are supported.

Details

Creates an interactive scatterplot.

Additional parameters:

changePtDiamBy
Number of pixels the point diameter should be changed when in-/decreasing it via keyboard or menu.
customFieldBg
Whether to use a custom background color.
COL_CUSTOMBG
The custom background color.
drawAxes
Whether axes should be drawn.
equiscale
Whether the same scale should be applied to both axes.
minimalDiam
Minimal point diameter.
ptDiam
Point diameter.
spaceprop
Gives the amount of space around the data points. 1.0 means no space, 1.5 means half as much space around the data as is used for the data itself. This resets zoom.

Default values:

    changePtDiamBy=2, customFieldBg=FALSE, COL_CUSTOMBG="white",
    drawAxes=TRUE, equiscale=FALSE, minimalDiam=1, ptDiam=3,
    spaceprop=1.1

Value

Resulting plot object.

See Also

ihist, ibar, iplot.list, iplot.opt

Examples

data(iris)
attach(iris)
iplot(Sepal.Width,Petal.Width)
iplot(Sepal.Width/Sepal.Length, Species)

[Package iplots version 1.1-3 Index]