The PLplot Plotting Library: Programmer's Reference Manual
Prev | Chapter 17. 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.

Prev | Home | Next
`plcont`: Contour plot | Up | `plend`: End plotting session