plmkstrm: Creates a new stream and makes it the default

`plmkstrm`: Creates a new stream and makes it the default
Prev | Chapter 18. The Common API for PLplot | Next

#### `plmkstrm`: Creates a new stream and makes it the default

`plmkstrm (` | p_strm `)`;

Creates a new stream and makes it the default. Differs from using `plsstrm`, in that a free stream number is found, and returned. Unfortunately, I have to start at stream 1 and work upward, since stream 0 is preallocated. One of the big flaws in the PLplot API is that no initial, library-opening call is required. So stream 0 must be preallocated, and there is no simple way of determining whether it is already in use or not.

`p_strm` (``PLINT_NC_SCALAR``, output)

  Returned value of the stream number of the created stream.

Redacted form: `plmkstrm(p_strm)`

This function is used in examples 1 and 20.

Prev | Up | Next
`plmeshc`: Magnitude colored plot surface mesh with contour | Home | `plmtex`: Write text relative to viewport boundaries