disableDefaultInteractivity(ax)
| Parameter | Description |
|---|---|
| ax | a scalar graphics object value: an axes. |
By default, the axes have built-in interactions enabled: dragging the cursor over the axes pans the content (or rotates it for a 3-D view), and the scroll wheel zooms.
disableDefaultInteractivity(ax) turns these built-in interactions off for the axes ax.
The axes toolbar and the pan, zoom, and rotate modes enabled from the toolbar or programmatically are not affected.
Use enableDefaultInteractivity to turn the built-in interactions back on.
plot(1:1000, sin(1:1000))
ax = gca();
disableDefaultInteractivity(ax);
| Version | Description |
|---|---|
| 2.0.0 | initial version |