| scatterplot {iSPlot} | R Documentation |
scatterplot plots a data set on to a gtk device, using the information from the parameter viewItem, which is an object of class, sPlotView.
scatterplot(viewItem)
viewItem |
an object of class, sPlotView, that will be used for plotting information |
scatterplot returns the parameter, viewItem, that has been updated with new plotting information.
Elizabeth Whalen
createSPlotView,
setParamList,
sPlotView-class
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
# here you can see the extra parameters needed for the plot view
createView(type = "plotView", dataName = "USArrests",
plotType = "sPlotView", dfRows = 1:nrow(USArrests),
dfColumns = 1:2)
# createView will call createSPlotView, which will call scatterplot
}