iplots (version 1.1-7)

iset.col: Set color of cases in an iSet.

Description

This function sets the colors of cases of an iSet. Every iPlot is free to use the corresponding representation individually. Color of a case is a iSet-global property, that is all iPlots associated with an iSet will reflect the change.

Usage

iset.col(col)

Arguments

col

Vector of integers specifying colors or a factor. The values are re-cycled if necessary. 0 has a special meaning denoting "no color", i.e. the plot is free to use the default color. This is also the default state of a newly created iSet.

See Also

iset.new

Examples

Run this code
# NOT RUN {
data(iris)
attach(iris)
iplot(Sepal.Width,Petal.Width)
ibar(Species)
iset.col(Species)
# }

Run the code above in your browser using DataLab