Skip to content

ribbon

plot · scripts/plot/draw/ribbon.m

: h = ribbon (y)
: h = ribbon (x, y)
: h = ribbon (x, y, width)
: h = ribbon (ax, …)

Draw the columns of y as three-dimensional ribbons.

Ribbon k is a flat strip of the given width (default 0.75) centred on the position k of the x axis; its length runs along the y axis at the positions x (default 1:rows (y)) and its height is the value in column k of y. x is a vector with one entry per row of y or a matrix of the size of y.

The column vector of surface handles is returned.