datatipInitStruct Datatips datatipMove

Manuel Scilab >> Bibliothèque graphique > Datatips > datatipManagerMode

datatipManagerMode

Set or toggles the data tips mode.

Calling Sequence

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 curve. The selection is made by a right click on the selected point.

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('on')
//now click somewhere on the curve

See Also

Authors

datatipInitStruct Datatips datatipMove