Skip to content

nexus_interactive_figure_mode_

matlab_compat · scripts/matlab_compat/nexus_interactive_figure_mode_.m

NEXUS_INTERACTIVE_FIGURE_MODE_  datacursormode / brush compat (GitLab #209).
The mode objects are the state: one nexus_figure_mode per (figure, mode),
kept so that two calls of datacursormode (fig) hand back the same object
and a property written through one is seen by the other, as MATLAB's
DataCursorManager does.  This used to be a struct of enable strings plus
a fresh struct handed to the caller each time, which meant every
property the caller set went nowhere.