## Macro Command Reference

`agridcolor <AXIS> <c> <c> <c> [a]`
`agridcolor <AXIS> <COLOR>`

Defines the grid color. Dependent on the color mode the three values are RGB or HSB values from 0.0 to 1.0. The color mode can be set with the command `colormode` (0=RGB, 1=HSB). With a the alpha value can be defined (default is 1.0). Alternative you can specify the color as hexadecimal string.

`AXIS`

Defines the axis to which the command apply. Possible values are:

`all` | all four axis
`x` | both X axis
`y` | both Y axis
`1, x1, xb, bottom` | 1. X axis (bottom)
`2, y1, yl, left` | 1. Y axis (left)
`3, x2, xt, top` | 2. X axis (top)
`4, y2, yr, right` | 2. Y axis (right)

`COLOR`

This can be a hexadecimal color definition in the format RGB, ARGB, RRGGBB or AARRGGBB where R is red, G is green, B is blue and A is alpha.

There are also named colors which can be used: black, white, red, green, blue, orange, yellow, magenta, cyan, aluminum, aqua, asparagus, banana, blueberry, bubblegum, cantaloupe, carnation, cayenne, clover, eggplant, fern, flora, grape, honeydew, ice, iron, lavender, lead, lemon, licorice, lime, magnesium, maraschino, maroon, mercury, midnight, mocha, moss, nickel, ocean, orchid, plum, salmon, seafoam, silver, sky, snow, spindrift, spring, steel, strawberry, tangerine, teal, tin, tungsten, turquoise

The Plot default colors can be addressed with the numbers 0-15