enableDefaultInteractivity(ax)
| Parameter | Description |
|---|---|
| ax | a scalar graphics object value: an axes. |
enableDefaultInteractivity(ax) turns the built-in interactions of the axes ax back on after they were turned off with disableDefaultInteractivity.
With the built-in interactions on, dragging the cursor over the axes pans the content (or rotates it for a 3-D view) and the scroll wheel zooms.
This is the default state of a new axes.
plot(1:1000, sin(1:1000))
ax = gca();
disableDefaultInteractivity(ax);
enableDefaultInteractivity(ax);
| Version | Description |
|---|---|
| 2.0.0 | initial version |