setParamList {iSPlot}R Documentation

Set the parameter list for making a scatterplot

Description

setParamList sets the parameter list for making a scatterplot. setParamList is called by scatterplot. The parameters that are currently set are color, and pch. Note that points that are hidden will be made the same color as the background.

Usage

setParamList(dataF, dfRows, plotObject)

Arguments

dataF the data set
dfRows the data set rows
plotObject the plot object, will be of type plotView

Value

col the colors of all the points
pch the pch values of all the points

Author(s)

Elizabeth Whalen

See Also

createView, scatterplot

Examples

  if (interactive())
  {
    createControlWindow()
    # should load data through Open Data or Open File under the File menu
    data(USArrests)
    loadDFData(USArrests,"USArrests")
    # plotting the data should occur through Plot Data under 
    # the Display menu
    # createView will call setParamList
    createView(type = "plotView", dataName = "USArrests", 
               plotType = "sPlotView", dfRows = 1:nrow(USArrests), 
               dfColumns = 1:2)  
  }

[Package iSPlot version 1.0.3 Index]