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
contourcused 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. zlevelmodezlevel-
The radio property
zlevelmodecan 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 thezlevelproperty. levellistmodelevellistlevelstepmodelevelstep-
If
levellistmodeis"manual", then the levels at which to plot the contours is determined bylevellist. Iflevellistmodeis set to"auto", then the distance between contours is determined bylevelstep. If bothlevellistmodeandlevelstepmodeare set to"auto", then there are assumed to be 10 equal spaced contours. textlistmodetextlisttextstepmodetextstep-
If
textlistmodeis"manual", then the labeled contours is determined bytextlist. Iftextlistmodeis set to"auto", then the distance between labeled contours is determined bytextstep. If bothtextlistmodeandtextstepmodeare 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.
linewidthlinestylelinecolor-
The properties of the contour lines. The properties
linewidthandlinestyleare similar to the corresponding properties for lines. The propertylinecoloris a color property (see Colors), that can also have the values of"none"or"auto". Iflinecoloris"none", then no contour line is drawn. Iflinecoloris"auto"then the line color is determined by the colormap. xdataydatazdata-
The original x, y, and z data of the contour lines.
xdatasourceydatasourcezdatasourceData source variables.
© 1996–2020 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/v5.2.0/Contour-Groups.html