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