stem3
Display 3-D stem plot.
📝Syntax
stem3(Z)
stem3(X, Y, Z)
stem3(..., LineSpec)
stem3(..., 'filled')
stem3(parent, ...)
h = stem3(...)
📥Input Arguments
Parameter Description
Z Stem heights: numeric vector or matrix.
X X coordinates: numeric vector or matrix.
Y Y coordinates: numeric vector or matrix.
LineSpec Line style, marker, and color specification.
parent Axes or hggroup parent.
📤Output Arguments
Parameter Description
h Stem graphics object.
📄Description

stem3 displays vertical stems from z = 0 to the values in Z, with markers at the stem tips.

The returned object is a stem graphics object. See nelson.graphics.stem.properties for supported properties.

💡Examples
Display a 3-D stem plot from a matrix.
Z = peaks(8);
stem3(Z);
Example illustration
Specify coordinates and fill markers.
t = 0:0.2:2*pi;
stem3(cos(t), sin(t), t, 'r--', 'filled');
Example illustration
🔗See Also
stemplot3nelson.graphics.stem.properties
Edit this page on GitHub