---
name: "d.erase"
section: "1grass"
platform: "linux"
package: "grass-doc"
version: "8.4.1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/d.erase"
---

# d.erase(1grass)

Erases the contents of the active graphics display frame with user defined color.

## NAME

**d.erase**  - Erases the contents of the active graphics display frame with user defined color.

## KEYWORDS

display, graphics, monitors

## SYNOPSIS

**d.erase**\
 **d.erase --help**\
 **d.erase** \[-**f**\]  \[**bgcolor**=*name*\]   \[--**help**\]  \[--**verbose**\]  \[--**quiet**\]  \[--**ui**\]

### Flags:

- **-f**

  Remove all frames and erase the screen

- **--help**

  Print usage summary

- **--verbose**

  Verbose module output

- **--quiet**

  Quiet module output

- **--ui**

  Force launching GUI dialog

### Parameters:

- **bgcolor**=*name*

  Background color\
   Either a standard color name or R:G:B triplet\
   Default: *white*

## DESCRIPTION

*d.erase* erases the contents of the active graphics frame, and replaces it with the color black (by default) or by whatever color is specified by the user.

## SEE ALSO

*d.mon,* *d.redraw,* *d.rast,* *d.vect*

## AUTHOR

James Westervelt, U.S. Army Construction Engineering Research Laboratory

## SOURCE CODE

Available at: d.erase source code (history)

Accessed: Monday Feb 24 17:50:23 2025

Main index \| Display index \| Topics index \| Keywords index \| Graphical index \| Full index

© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
