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

# plglevel(3plplot)

Get the (current) run level

## NAME

**plglevel** - Get the (current) run level

## SYNOPSIS

**plglevel**(*p\_level*)

## DESCRIPTION

Get the (current) run level. Valid settings are: 0,  uninitialized 1,  initialized 2,  viewport defined 3,  world coordinates defined

Redacted form: **plglevel(p\_level)**

This function is used in example 31.

## ARGUMENTS

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

  Returned value of the run level.

## 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.
