MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics) MATLAB Function Reference (Volume 2: Graphics)

12.07.2015 Views

ibbonPurpose2ribbonRibbon plotSyntaxDescriptionribbon(Y)ribbon(X,Y)ribbon(X,Y,width)h = ribbon(...)ribbon(Y) plots the columns of Y as separate three-dimensional ribbons usingX = 1:size(Y,1).ribbon(X,Y) plots X versus the columns of Y as three-dimensional strips. X andY are vectors of the same size or matrices of the same size. Additionally, X canbe a row or a column vector, and Y a matrix with length(X) rows.ribbon(X,Y,width) specifies the width of the ribbons. The default is 0.75.h = ribbon(...) returns a vector of handles to surface graphics objects.ribbon returns one handle per strip.2-410

ibbonExamplesCreate a ribbon plot of the peaks function.[x,y] = meshgrid(-3:.5:3,-3:.1:3);z = peaks(x,y);ribbon(y,z)colormap hsv1050−5−10420−2−4051015See Alsoplot, plot3, surface2-411

ibbonExamplesCreate a ribbon plot of the peaks function.[x,y] = meshgrid(-3:.5:3,-3:.1:3);z = peaks(x,y);ribbon(y,z)colormap hsv1050−5−10420−2−4051015See Alsoplot, plot3, surface2-411

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!