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

# plgra(3plplot)

Switch to graphics screen

## NAME

**plgra** - Switch to graphics screen

## SYNOPSIS

**plgra**()

## DESCRIPTION

Sets an interactive device to graphics mode, used in conjunction with [**pltext**(3plplot)](/pltext/3plplot.md) to allow graphics and text to be interspersed.  On a device which supports separate text and graphics windows, this command causes control to be switched to the graphics window.  If already in graphics mode, this command is ignored.  It is also ignored on devices which only support a single window or use a different method for shifting focus.  See also [**pltext**(3plplot)](/pltext/3plplot.md).

Redacted form: **plgra()**

This function is used in example 1.

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