# Graphics Primitives

Various commands are provided to allow control and display of various graphics primitives: These enable you to enhance your data plot by adding customised "artwork". Alternatively, you can use these commands to create, for example, a map-based diagram with no data plot involved.

## Drawing Commands

draw map
draw xlab
draw ylab
draw string
draw line
draw rec
draw recf
draw mark
draw polyf
draw wxsym

## Controlling drawing commands

set font
set line
set string
set strsiz
set rgb

## Plot clipping

You may specify a clipping area for drawing graphics primitives such as lines and strings. When you do a `display` command, GrADS sets the clipping region to the parea, draws the graphic, then sets the clipping region to the entire page. Even if you have set the clipping region, a display command will reset it to the entire page. To clip the display of the various draw commands:

  `set clip xlo xhi ylo yhi`

  where `xlo,xhi,ylo,yhi` are the clipping coordinates in real page inches.