datatipManagerMode Set or toggles the datatips mode.

## Syntax

                datatipManagerMode()
                datatipManagerMode('on')
                datatipManagerMode('off')
                datatipManagerMode(fig)
                datatipManagerMode(fig,'on')
                datatipManagerMode(fig,'off')

## Arguments

fig

  Graphic window handle or Graphic window id.

## Description

When enabled, the data tips mode allow to add and edit tips at selected points of polylines.

`datatipManagerMode()`, toggles the data tips mode for the current figure while `datatipManagerMode(fig)` toggles the data tips mode for figure given by the handle `fig`.

`datatipManagerMode('on')`, enables the data tips mode for the current figure while `datatipManagerMode(fig,'on')` enables the data tips mode for figure given by the handle `fig`.

`datatipManagerMode('off')`, disables the data tips mode for the current figure while `datatipManagerMode(fig,'off')` disables the data tips mode for figure given by the handle `fig`.

## Examples

           t=linspace(0,10,200);
           plot(t,sin(t))
           datatipManagerMode(gcf())
           //now click somewhere on the curve

## See also

- datatips