FUNCTION REFERENCE

stem

Stem plot.

Stem plot.

Syntax

stem(x, y)

Syntax

stem(y, 'filled')

Draws a vertical line and marker for each point. 'filled' fills the markers; BaseValue sets the baseline.

Example

stem([1 3 2])   % three stems

Differences from MATLAB: Real coordinates only.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.