Switch/Keyword Options

When using commands for plotting, a number of plot item switches will terminate in an option — a name or value for a color when specifying color, for instance. Each heading below presents commonly encountered switches for FLAC3D plot items, with instructions on usage and terminal keywords.

Color

When the keyword color is used, color may be specified in the following way:

  • by red, greed, blue (RGB) intensity, as integers. Usage: color rgb 10 20 255. Integer values in each position range from 0 to 255.

  • by red, green, blue (RGB) intensity, as hexadecimal values. Usage: color "colRRGGBB", where RR, GG, and BB are two-digit hex codes (so "colFFFFFF" gives white; "col000000" gives black).

  • by hue, saturation, and value (HSV). Usage: color hsv 300 100 200. Integer values for hue range from 0 to 359; values for saturation and value range from 0 to 255.

  • by name: there are 174 named colors; see table below. Usage: color "darkgold". The list of colors is derived from http://www.w3.org/TR/SVG/types.html#ColorKeywords. for a list

See the table below for a visual guide. There is a special color name none. Anything rendered in this color is instead not rendered at all.

Color Ramps

Contour plots use pre-defined ramps of color.

  • Usage: ramp keyword, where keyword may be one of: rainbow greyscale bwr bcwyr gwr

See the table below for an illustration of each color ramp.

Lines

Lines have settings for:

  • Color — use line color with a valid color specification (see above)

  • Visibility — use line active on or line active off to show/hide line rendering

  • Style — use line style with one of the six options listed on the table below.

  • Width — use line width and a value between 1 and 10, where 1 is the thinnest line width (one pixel).

The table below provides a visual reference.

Text

Text will provide settings to control:

  • Color — use text color with a valid color specification (see above)

  • Visibility — use text active on or text active off to show/hide line rendering

  • Typeface — use text family with a font-face name (e.g., "Times New Roman") to set the typeface

  • Type size - use text size with an integer to indicate type size

  • Style — use text style to set the type style to one of: normal bold italic bolditalic (normal is the default)

  • Content — Some items will provide a control to specify the text that is to be used, in which case text text s may be used, where s is the specified text

Tables of Values

Table 1: Color Names

aliceblue
aliceblue

antiquewhite
antiquewhite

aqua
aqua

aquamarine
aquamarine

azure
azure

beige
beige

bisque
bisque

black
black

blanchedalmond
blanchedalmond

blue
blue

blueviolet
blueviolet

brown
brown

burlywood
burlywood

cadetblue
cadetblue

cardinal
cardinal

chartreuse
chartreuse

chocolate
chocolate

coral
coral

cornflowerblue
cornflowerblue

cornsilk
cornsilk

crimson
crimson

cyan
cyan

darkblue
darkblue

darkbrown
darkbrown

darkcardinal
darkcardinal

darkcyan
darkcyan

darkgold
darkgold

darkgoldenrod
darkgoldenrod

darkgray
darkgray

darkgreen
darkgreen

darkgrey
darkgrey

darkkhaki
darkkhaki

darkmagenta
darkmagenta

darkolivegreen
darkolivegreen

darkorange
darkorange

darkorchid
darkorchid

darkolive
darkolive

darkpeach
darkpeach

darkpink
darkpink

darkpurple
darkpurple

darkred
darkred

darksalmon
darksalmon

darkseagreen
darkseagreen

darkskyblue
darkskyblue

darkslateblue
darkslateblue

darkslategray
darkslategray

darkslategrey
darkslategrey

darkturquoise
darkturquoise

darkviolet
darkviolet

darkyellow
darkyellow

deeppink
deeppink

deepskyblue
deepskyblue

dimgray
dimgray

dimgrey
dimgrey

dodgerblue
dodgerblue

firebrick
firebrick

floralwhite
floralwhite

forestgreen
forestgreen

fuchsia
fuchsia

gainsboro
gainsboro

ghostwhite
ghostwhite

gold
gold

goldenrod
goldenrod

gray
gray

grey
grey

green
green

greenyellow
greenyellow

honeydew
honeydew

hotpink
hotpink

indianred
indianred

indigo
indigo

ivory
ivory

khaki
khaki

lavender
lavender

lavenderblush
lavenderblush

lawngreen
lawngreen

lemonchiffon
lemonchiffon

lightblue
lightblue

lightbrown
lightbrown

lightcardinal
lightcardinal

lightcoral
lightcoral

lightcyan
lightcyan

lightgold
lightgold

lightgoldenrodyellow
lightgoldenrodyellow

lightgray
lightgray

lightgreen
lightgreen

lightgrey
lightgrey

lightolive
lightolive

lightorange
lightorange

lightpink
lightpink

lightpurple
lightpurple

lightred
lightred

lightsalmon
lightsalmon

lightseagreen
lightseagreen

lightskyblue
lightskyblue

lightslategray
lightslategray

lightslategrey
lightslategrey

lightsteelblue
lightsteelblue

lightteal
lightteal

lightviolet
lightviolet

lightyellow
lightyellow

lime
lime

limegreen
limegreen

linen
linen

magenta
magenta

maroon
maroon

mediumaquamarine
mediumaquamarine

mediumblue
mediumblue

mediumorchid
mediumorchid

mediumpurple
mediumpurple

mediumseagreen
mediumseagreen

mediumslateblue
mediumslateblue

mediumspringgreen
mediumspringgreen

mediumturquoise
mediumturquoise

mediumvioletred
mediumvioletred

midnightblue
midnightblue

mintcream
mintcream

mistyrose
mistyrose

moccasin
moccasin

navajowhite
navajowhite

navy
navy

oldlace
oldlace

olive
olive

olivedrab
olivedrab

orange
orange

orangered
orangered

orchid
orchid

palegoldenrod
palegoldenrod

palegreen
palegreen

paleturquoise
paleturquoise

palevioletred
palevioletred

papayawhip
papayawhip

peach
peach

peachpuff
peachpuff

peru
peru

pink
pink

plum
plum

powderblue
powderblue

purple
purple

red
red

rosybrown
rosybrown

royalblue
royalblue

saddlebrown
saddlebrown

salmon
salmon

sandybrown
sandybrown

seagreen
seagreen

seashell
seashell

sienna
sienna

silver
silver

skyblue
skyblue

slateblue
slateblue

slategray
slategray

slategrey
slategrey

snow
snow

springgreen
springgreen

steelblue
steelblue

tan
tan

teal
teal

thistle
thistle

tomato
tomato

transparent
transparent

turquoise
turquoise

violet
violet

wheat
wheat

white
white

whitesmoke
whitesmoke

xlightgold
xlightgold

xlightgreen
xlightgreen

xlightolive
xlightolive

xlightpink
xlightpink

xlightpurple
xlightpurple

xlightred
xlightred

xlightskyblue
xlightskyblue

xlightyellow
xlightyellow

yellow
yellow

yellowgreen
yellowgreen

Table 2: Color Ramp Options

rainbow

rainbow

greyscale

greyscale

bwr

bwr

bcwyr

bcwyr

gwr

gwr

Table 3: Line Options

styles

none

solid

linesolid

dash

linedash

dot

linedot

dashdot

linedashdot

dashdotdot

linedashdotdot

widths

1

line1

2

line2

3

line3

4

line4

5

line5

6

line6

7

line7

8

line8

9

line9

10

line10