plcpstrm.3plplot man page

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(3plplot) and a plreplot(3plplot), with calls to plbop(3plplot) and pleop(3plplot) as appropriate.  The plot buffer must have previously been enabled (done automatically by some display drivers, such as X).

Redacted form: plcpstrm(iplsr, flags)

This function is used in example 1,20.


iplsr (PLINT(3plplot), input)

Number of reference stream.

flags (PLBOOL(3plplot), input)

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


Many developers (who are credited at have contributed to PLplot over its long history.

See Also

PLplot documentation at


January, 2017 PLplot API