W3cubDocs

/Octave

15.4.6.4 Contour Groups

Contour group objects are created by the contour, contourf, and contour3 functions. They are also one of the handles returned by the surfc and meshc functions. The properties of the contour group are

contourmatrix

A read only property that contains the data return by contourc used to create the contours of the plot.

fill

A radio property that can have the values "on" or "off" that flags whether the contours to plot are to be filled.

zlevelmode
zlevel

The radio property zlevelmode can have the values "none", "auto", or "manual". When its value is "none" there is no z component to the plotted contours. When its value is "auto" the z value of the plotted contours is at the same value as the contour itself. If the value is "manual", then the z value at which to plot the contour is determined by the zlevel property.

levellistmode
levellist
levelstepmode
levelstep

If levellistmode is "manual", then the levels at which to plot the contours is determined by levellist. If levellistmode is set to "auto", then the distance between contours is determined by levelstep. If both levellistmode and levelstepmode are set to "auto", then there are assumed to be 10 equal spaced contours.

textlistmode
textlist
textstepmode
textstep

If textlistmode is "manual", then the labeled contours is determined by textlist. If textlistmode is set to "auto", then the distance between labeled contours is determined by textstep. If both textlistmode and textstepmode are set to "auto", then there are assumed to be 10 equal spaced labeled contours.

showtext

Flag whether the contour labels are shown or not.

labelspacing

The distance between labels on a single contour in points.

linewidth
linestyle
linecolor

The properties of the contour lines. The properties linewidth and linestyle are similar to the corresponding properties for lines. The property linecolor is a color property (see Colors), that can also have the values of "none" or "auto". If linecolor is "none", then no contour line is drawn. If linecolor is "auto" then the line color is determined by the colormap.

xdata
ydata
zdata

The original x, y, and z data of the contour lines.

xdatasource
ydatasource
zdatasource

Data source variables.

© 1996–2018 John W. Eaton
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions.
https://octave.org/doc/interpreter/Contour-Groups.html