15.4.6.3 Bar Series
Bar series objects are created by the bar
or barh
functions. Each hggroup
element contains a single patch object. The properties of the bar series are
showbaseline
baseline
basevalue
-
The property
showbaseline
flags whether the baseline of the bar series is displayed (default is"on"
). The handle of the graphics object representing the baseline is given by thebaseline
property and the y-value of the baseline by thebasevalue
property.Changes to any of these properties are propagated to the other members of the bar series and to the baseline itself. Equally, changes in the properties of the base line itself are propagated to the members of the corresponding bar series.
barwidth
barlayout
horizontal
-
The property
barwidth
is the width of the bar corresponding to the width variable passed tobar
or barh. Whether the bar series is"grouped"
or"stacked"
is determined by thebarlayout
property and whether the bars are horizontal or vertical by thehorizontal
property.Changes to any of these property are propagated to the other members of the bar series.
linewidth
linestyle
-
The line width and style of the edge of the patch objects making up the bars. See Line Styles.
edgecolor
facecolor
-
The line and fill color of the patch objects making up the bars. See Colors.
xdata
-
The nominal x positions of the bars. Changes in this property and propagated to the other members of the bar series.
ydata
-
The y value of the bars in the
hggroup
. xdatasource
ydatasource
Data 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/v6.3.0/Bar-Series.html