[X, Y, Z] = cylinder()
[X, Y, Z] = cylinder(r)
[X, Y, Z] = cylinder(r, n)
cylinder()
cylinder(r)
cylinder(r, n)
cylinder(ax, ...)
| Parameter | Description |
|---|---|
| r | Profile curve: vector. |
| n | Number of points: positive whole number. |
| ax | Target axes: 'axes' object. |
| Parameter | Description |
|---|---|
| X, Y, Z | x-, y-, and z- coordinates of a cylinder without drawing it. |
cylinder creates cylinder and plots it.
f1 = figure();
colormap(spring)
cylinder()
f2 = figure();
colormap(summer)
r = 4;
cylinder(r);
| Version | Description |
|---|---|
| 1.0.0 | initial version |