plmkstrm: Creates a new stream and makes it the default

The PLplot Plotting Library: Programmer's Reference Manual
Prev | Chapter 17. 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 *`, output) Pointer to stream number of the created stream.

Redacted form: `plmkstrm(p_strm)`

This function is used in examples 1,20.

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