The following tables are the valid values to be used when calling plot related functions that take a color (setBackground(string color), etc…), an alignment (setAlignment()), a rotation (setRotation()), a fill pattern (setFillPattern()), a fill type (setFillType()), a line style (setLineStyle()), a step style (setLineStepStyle()).or a symbol type (setSymbolType()).
All non-numeric values must be quoted when specified. The case of the text is insignificant.
Colors
Colors can be specified either by a String or by a java.awt.Color object. If setting a color through the use of a String object the String can either be a standard color name (i.e. "darkred") or an RGB string (i.e. "255,20,20"). Standard color names are listed here:
Base Color | Light Variant | Dark Variant |
---|
black | | |
white | | |
blue | lightblue | darkblue |
cyan | lightcyan | darkcyan |
gray | lightgray | darkgray |
green | lightgreen | darkgreen |
magenta | lightmagenta | darkmagenta |
orange | lightorange | darkorange |
pink | lightpink | darkpink |
purple | lightpurple | darkpurple |
red | lightred | darkred |
yellow | lightyellow | darkyellow |
Alignment
Positions
Rotation
Fill Patterns
none
horizontal
vertical
cross
fdiagonal
bdiagonal
diagonal cross
Fill Types
Line Styles
solid
dash
dot
dash dot
dash dot-dot
Step Style
Symbol Types
Base Shape | Square Variant | Diamond Variant | Triangle Variant | Trangle2 Variant | Circle Variant | Hourglass Variant |
---|
<open shape> | open square | open diamond | open triangle | open triangle2 | open circle | open hourglass |
<filled shape> | square | diamond | triangle | triangle2 | circle | hourglass |
x | x square | | x triangle | x triangle2 | x circle | |
hash | hash square | hash diamond | hash triangle | hash triangle2 | | |
plus | plus square | plus diamond | | | plus circle | |
pipe | pipe square | pipe diamond | | | | |
forwardshlash | forwardslash square | | | | | |
backslash | backslash square | | | | | |
asterisk | | | | | | |