## USERSYM

The USERSYM procedure is used to define the plotting symbol that marks points when the plotting symbol is set to plus or minus 8. Symbols can be drawn with vectors or can be filled. Symbols can be of any size and can have up to 49 vertices. SeeDefining Your Own Plotting Symbols .

### Syntax

USERSYM, X [, Y] [, COLOR=value] [, /FILL] [, THICK=value]

### Arguments

#### X, Y

The X and/or Y parameters define the vertices of the symbol as offsets from the data point in units of approximately the size of a character. In the case of a vector drawn symbol, the symbol is formed by connecting the vertices in order. If only one argument is specified, it must be a (2, N) array of vertices, with element [0, i] containing the X coordinate of the vertex, and element [1, i] containing the Y. If both arguments are provided, X contains only the X coordinates.

### Keywords

#### COLOR

The color used to draw the symbols, or used to fill the polygon. The default color is the same as the line color.

#### FILL

Set this keyword to fill the polygon defined by the vertices. If FILL is not set, lines are drawn connecting the vertices.

#### THICK

The thickness of the lines used in drawing the symbol. The default thickness is 1.0.

### Examples

Make a large, diamond-shaped plotting symbol. Define the vectors of X values by entering:

```X = [-6, 0, 6, 0, -6]
```

Define the vectors of Y values by entering:

```Y = [0, 6, 0, -6, 0]
```

Now call USERSYM to create the new plotting symbol 8. Enter:

```USERSYM, X, Y
```

Generate a simple plot to test the plotting symbol by entering:

```PLOT, FINDGEN(20), PSYM = 8
```

### Version History

Introduced: Original