Entrance Colors
as well as the “usual” colors: RED, BLUE, GREEN and so on. Entrance also supports named shades of gray: WHITE, LIGHT ALUMINUM, ALUMINUM, DARK ALUMINUM, LIGHT CHARCOAL, CHARCOAL, DARK CHARCOAL, and BLACK.
Any Entrance color can be LIGHT or DARK, and the standard colors can also be VERY LIGHT or VERY DARK. Colors can be TRANSPARENT or VERY TRANSPARENT. For example, a BLACK TRIANGLE completely covered by TRANSPARENT GRAY TRIANGLES will show through them.
If these color choices aren't enough for you, use RGB(r,g,b) to specify RGB values in the range 0-255. You can also specify alpha values using RGB(r,g,b,a).
Color Syntax
Entrance color syntax is: [transparency_type] [lightness] color_name
These are the possible color_names: RED, GREEN, BLUE, YELLOW, CYAN, MAGENTA, WHITE, LIGHTGRAY,GRAY, DARKGRAY,BLACK, BUTTER, ORANGE, CHOCOLATE, CHAMELEON, SKYBLUE, PLUM, SCARLETRED, ALUMINUM, CHARCOAL, RGB(r,g,b), RGB(r,g,b,a)
Transparency_type is optional and can be:
[VERY] {TRANSPARENT | OPAQUE}
Lightness is also optional:
[VERY] {DARK | LIGHT}
Examples
Here are some examples showing ways to use color in PLOT commands:
PLOT
DARK CHOCOLATE BARS
SELECT
val FROM mytable;
PLOT
VERY LIGHT SKYBLUE CIRCLES AND LINE
SELECT
val FROM mytable;
PLOT
TRANSPARENT LIGHT BLUE AREA, BLUE LINE
WITH
FOREGROUND BLACK
BACKGROUND LIGHT GRAY
FRAMECOLOR WHITE
SELECT
val, val2 FROM mytable;
Copyright (c) 2008 dbEntrance Software, All Rights Reserved
MySQL is a registered trademark of MySQL AB in the United States, the European Union and other countries. Windows is a trademark of Microsoft Corporation. Macintosh is a trademark of Apple Computer, Inc.