setIdentifyMode {iSPlot}R Documentation

Set the view mode

Description

setIdentifyMode, setHighlightMode, setColorMode, and setHideMode set the view mode to identify, highlight, color, and hide, respectively. The variable viewMode is stored in the environment, controlEnv, and it tells the views how they should respond to user interaction. setColorMode also opens a color selection dialog window if one is not already open.

Usage

setIdentifyMode()
setHighlightMode()
setColorMode()
setHideMode()

Author(s)

Elizabeth Whalen

See Also

setViewMode

Examples

  if (interactive())
  {
    createControlWindow()
    # these will be set by choosing an item under the ViewMode menu
    setColorMode()
    get("viewMode",controlEnv)
    setHighlightMode()
    get("viewMode",controlEnv)
    setIdentifyMode()
    get("viewMode",controlEnv)
    setHideMode()
    get("viewMode",controlEnv)
  }

[Package iSPlot version 1.0.3 Index]