ribbon(Z)
ribbon(Y, Z)
ribbon(Y, Z, width)
ribbon(ax, ...)
s = ribbon(...)
| Parameter | Description |
|---|---|
| Z | z-coordinates: vector or matrix. |
| Y | y-coordinates: vector or matrix. |
| width | ribbon width. |
| ax | a scalar graphics object value: parent container, specified as a axes. |
| Parameter | Description |
|---|---|
| s | a vector of surface objects. |
ribbon(Z) plots a 3D ribbon graph based on the matrix Z with the values of Y defining the y-axis of the graph.
ribbon(Y, Z) plots a 3D ribbon graph based on the matrix Y with the values of Z defining the z-axis of the graph.
s = ribbon(...) returns a vector of surface objects.
Note that Y and Z must have the same size.
f = figure();
Y = peaks(25);
ribbon(Y)
| Version | Description |
|---|---|
| 1.0.0 | initial version |