| plotView-class {iSPlot} | R Documentation |
plotView is a class to represent a view that is a plot. Any particular types of plots can inherit from this class. For instance, sPlotView, is a class that inherits from plotView and represents a scatterplot view. Other types of plot view classes can be created that inherit from this class. Although plotView is not a virtual class, currently no objects of class plotView are created in package, iSPlot.
Objects can be created by calls of the form new("plotView", ...).
plotDevice:plotPar:drArea:"GtkDrawingArea"dataName:win:"GtkWindow" that holds the viewwinNum:
Class "genView", directly.
drArea slot drArea slot plotDevice slotplotDevice slotplotPar slot plotPar slot Elizabeth Whalen
genView-class,
sPlotView-class,
spreadView-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
createView(type = "plotView", dataName = "USArrests",
plotType = "sPlotView", dfRows = 1:nrow(USArrests),
dfColumns = 1:2)
# this will create an object of class, sPlotView, which inherits from
# plotView
is(get("viewList",viewEnv)[[1]],"plotView")
}