1d.background(1)             GRASS GIS User's Manual            d.background(1)
2
3
4

NAME

6       d.background   -  Fills  the  graphics  display frame with user defined
7       color.
8

KEYWORDS

10       display, graphics, background, fill, erase
11

SYNOPSIS

13       d.background
14       d.background --help
15       d.background color=name  [--help]  [--verbose]  [--quiet]  [--ui]
16
17   Flags:
18       --help
19           Print usage summary
20
21       --verbose
22           Verbose module output
23
24       --quiet
25           Quiet module output
26
27       --ui
28           Force launching GUI dialog
29
30   Parameters:
31       color=name [required]
32           Background color
33           Either a standard color name or R:G:B triplet
34

DESCRIPTION

36       d.background will fill the image (or generally display monitor) with  a
37       single color specified by the color option.
38

NOTES

40       d.background  is  a  frontend  to  d.erase  and shares its limitations.
41       Namely, it does not work with the wx monitors such as d.mon wx0.
42

EXAMPLES

44       In this example, the streets_wake map from the  North  Carolina  sample
45       location  is  displayed  with  custom background color (specified using
46       HTML hex color code) using cairo display monitor (creates  file  called
47       map.png):
48       g.region vector=streets_wake
49       d.mon cairo
50       d.background color=#ADEFD1
51       d.vect map=streets_wake color=#00203F legend_label="Streets"
52       d.legend.vect -b at=70,30 title="Wake County"
53
54       Figure:  Wake County street network with custom background color (North
55       Carolina sample dataset)
56

SEE ALSO

58        d.erase
59

AUTHOR

61       Vaclav Petras, NCSU GeoForAll Lab
62

SOURCE CODE

64       Available at: d.background source code (history)
65
66       Accessed: Saturday Jan 21 21:17:00 2023
67
68       Main index | Display index | Topics index | Keywords index |  Graphical
69       index | Full index
70
71       © 2003-2023 GRASS Development Team, GRASS GIS 8.2.1 Reference Manual
72
73
74
75GRASS 8.2.1                                                    d.background(1)
Impressum