plcpstrm: Copy state parameters from the reference stream to the current stream

`plcpstrm`: Copy state parameters from the reference stream to the current stream
Prev | Chapter 18. The Common API for PLplot | Next

#### `plcpstrm`: Copy state parameters from the reference stream to the current stream

`plcpstrm (` | iplsr,
| flags`)`;

Copies state parameters from the reference stream to the current stream. Tell driver interface to map device coordinates unless ``flags` == 1`.

This function is used for making save files of selected plots (e.g. from the TK driver). After initializing, you can get a copy of the current plot to the specified device by switching to this stream and issuing a `plcpstrm` and a `plreplot`, with calls to `plbop` and `pleop` as appropriate. The plot buffer must have previously been enabled (done automatically by some display drivers, such as X).

`iplsr` (``PLINT``, input)

  Number of reference stream.

`flags` (``PLBOOL``, input)

  If ``flags`` is set to true the device coordinates are not copied from the reference to current stream.

Redacted form: `plcpstrm(iplsr, flags)`

This function is used in example 1,20.

Prev | Up | Next
`plcont`: Contour plot | Home | `plctime`: Calculate continuous time from broken-down time for the current stream