↑ Page supérieure ← Page précédente → Page suivante

GEOD

defaultcolor

The defaultcolor command

The defaultcolor command sets the colour used by default to draw curves.

By default, GEOD draws curves in red. It is possible to change the default colour with the defaultcolor command:

  defaultcolor red green blue

where red, green, and blue are the red, green, and blue components of the new colour, with values between 0 and 1.

A colour name may also be used:

  defaultcolor colorName

See this section for the list of available colours.

Figure 1 : Cross-section with curves drawn in red, which is the default drawing colour in GEOD.

Figure 2 : Same cross-section as in figure 1. The curves are now drawn in blue thanks to a defaultcolor blue instruction.