tf = is2D(ax)
| Parameter | Description |
|---|---|
| ax | a scalar graphic object: axe. |
| Parameter | Description |
|---|---|
| tf | a logical scalar. |
is2D returns Checks if ax is a 2-D Polar or Cartesian axes.
f = figure();
ax = gca();
plot(ax, 1:10, sin(1:10));
assert_istrue(is2D(ax));
f = figure();
surf(peaks);
ax = gca();
assert_isfalse(is2D(ax));
| Version | Description |
|---|---|
| 1.0.0 | initial version |