1d.title(1) GRASS GIS User's Manual d.title(1)
2
3
4
6 d.title - Create a TITLE for a raster map in a form suitable for dis‐
7 play with d.text.
8
10 display, cartography
11
13 d.title
14 d.title --help
15 d.title [-dfs] map=name [color=string] [size=float] [--help]
16 [--verbose] [--quiet] [--ui]
17
18 Flags:
19 -d
20 Draw title on current display
21
22 -f
23 Do a fancier title
24
25 -s
26 Do a simple title
27
28 --help
29 Print usage summary
30
31 --verbose
32 Verbose module output
33
34 --quiet
35 Quiet module output
36
37 --ui
38 Force launching GUI dialog
39
40 Parameters:
41 map=name [required]
42 Name of raster map
43
44 color=string
45 Sets the text color
46 Default: black
47
48 size=float
49 Sets the text size as percentage of the frame’s height
50 Options: 0-100
51 Default: 4.0
52
54 d.title generates to standard output a string which can be used by
55 d.text to draw a TITLE for the raster map layer name in the active dis‐
56 play frame on the graphics monitor. Output created by d.title can be
57 redirected into a file, or piped directly into d.text to display the
58 map TITLE created by d.title. The map TITLE created will include the
59 map layer’s name, TITLE, MAPSET, LOCATION_NAME, geographic region
60 boundary coordinates, and cell resolution. If the -d draw flag is
61 used, then d.title will call d.text for you and the title will be auto‐
62 matically rendered to the display.
63
65 The text created with d.text will not necessarily fit within the active
66 display frame on the graphics monitor; the user should choose a text
67 size appropriate to this frame.
68
70 For example, a user wishing to create a suitable TITLE for the
71 Spearfish, SD soils map layer and to display this TITLE in the active
72 display frame on the graphics monitor might type the following:
73 d.title map=soils color=red size=5 > TITLE.file
74 d.text < TITLE.file Alternately, the user might pipe d.title output di‐
75 rectly into d.text:
76 d.title map=soils color=red size=5 | d.text
77
78 A file created by d.title can be displayed with d.text. Information
79 contained in this file takes precedence over the color and size parame‐
80 ters for d.text.
81
83 d.font
84 d.text
85
87 James Westervelt, U.S. Army Construction Engineering Research Labora‐
88 tory
89
91 Available at: d.title source code (history)
92
93 Accessed: Saturday Jan 21 21:14:14 2023
94
95 Main index | Display index | Topics index | Keywords index | Graphical
96 index | Full index
97
98 © 2003-2023 GRASS Development Team, GRASS GIS 8.2.1 Reference Manual
99
100
101
102GRASS 8.2.1 d.title(1)