biggles
reference guide 1.3.0 : style
( overview
: containers
: components
: style
: config
: functions )
style keywords
The style properties of components (e.g., color) are controlled
through a common set of keyword options passed during object creation.
For example,
c = Curve( x, y, color="red" )
changes the color of the curve to red.
Keywords which are not relevant (for instance,
setting fontface for a Line object)
are ignored.
-
color
fillcolor
linecolor
= RGB-triple | X-color-name
-
Set line or fill color (color sets both).
An RGB triple is a six digit hexadecimal integer, 0xRRGGBB,
where RR, GG, BB are the red, green, and blue
color contents.
For instance, 0xffffff is white and 0xff0000 is red.
You can also use color names (e.g., "red", "lightgrey").
Listings of acceptable names can be found in
rgb.txt (usually found in /usr/lib/X11/) and
colors.txt (usually found in /usr/share/libplot/).
-
linetype
=
"solid" | "dotted" | "dotdashed" | "shortdashed" |
"longdashed" | "dotdotdashed" | "dotdotdotdashed"
-
-
linewidth
= float
-
-
symbolsize
= float
-
-
symboltype
=
"none" "filled circle"
"dot" "filled square"
"plus" "filled triangle"
"asterisk" "filled diamond"
"circle" "filled inverted triangle"
"cross" "filled fancy square"
"square" "filled fancy diamond"
"triangle" "half filled circle"
"diamond" "half filled square"
"star" "half filled triangle"
"inverted triangle" "half filled diamond"
"starburst" "half filled inverted triangle"
"fancy plus" "half filled fancy square"
"fancy cross" "half filled fancy diamond"
"fancy square" "octagon"
"fancy diamond" "filled octagon"
-
-
textangle
= degrees-counterclockwise
-
-
texthalign
= "left" | "center" | "right"
-
Where to horizontally anchor text strings.
-
textvalign
= "top" | "center" | "bottom"
-
Where to vertically anchor text strings.