---
name: "plgcompression"
section: "3plplot"
platform: "linux"
package: "plplot-doc"
version: "5.15.0+dfsg2-15"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/plgcompression"
---

# plgcompression(3plplot)

Get the current device-compression setting

## NAME

**plgcompression** - Get the current device-compression setting

## SYNOPSIS

**plgcompression**(*compression*)

## DESCRIPTION

Get the current device-compression setting.  This parameter is only used for drivers that provide compression.

Redacted form: **plgcompression(compression)**

This function is used in example 31.

## ARGUMENTS

- *compression* (**PLINT\_NC\_SCALAR**(3plplot), output)

  Returned value of the compression setting for the current device.

## AUTHORS

Many developers (who are credited at http://plplot.org/credits.php) have contributed to PLplot over its long history.

## SEE ALSO

PLplot documentation at http://plplot.org/documentation.php.
