plstyl: Set line style

`plstyl`: Set line style
Prev | Chapter 18. The Common API for PLplot | Next

#### `plstyl`: Set line style

`plstyl (` | nms,
| mark,
| space`)`;

This sets up the line style for all lines subsequently drawn. A line consists of segments in which the pen is alternately down and up. The lengths of these segments are passed in the arrays ``mark`` and ``space`` respectively. The number of mark-space pairs is specified by ``nms``. In order to return the line style to the default continuous line, `plstyl` should be called with ``nms`=0`.(see also `pllsty`)

`nms` (`PLINT`, input)

  The number of ``mark`` and ``space`` elements in a line. Thus a simple broken line can be obtained by setting ``nms`=1`. A continuous line is specified by setting ``nms`=0`.

`mark` (`const PLINT *`, input)

  Pointer to array with the lengths of the segments during which the pen is down, measured in micrometers.

`space` (`const PLINT *`, input)

  Pointer to array with the lengths of the segments during which the pen is up, measured in micrometers.

Redacted form: `plstyl(mark, space)`

This function is used in examples 1,9,14.

Prev | Up | Next
`plstripd`: Deletes and releases memory used by a strip chart | Home | `plsurf3d`: Plot shaded 3-d surface plot