setViewMode {iSPlot} | R Documentation |
setViewMode sets the variable, viewMode, in controlEnv and changes the titles of all plots to reflect the viewMode so that the user can see what action will occur when interacting with a plot.
setViewMode(mode)
mode |
A character string that represents the view mode. Currently, can be "identify", "highlight", "color", or "hide". |
Elizabeth Whalen
setHighlightMode
,
setIdentifyMode
,
setColorMode
,
setHideMode
if (interactive()) { createControlWindow() # should load data using Open Data under the File Menu data(USArrests) loadDFData(USArrests,"USArrests") # should plot data using Plot Data under the Display Menu createView(type = "plotView", dataName = "USArrests", plotType = "sPlotView", dfRows = 1:nrow(USArrests), dfColumns = 1:2) # should set the view mode using Identify under the ViewMode Menu setViewMode("identify") }