1d.title(1) Grass 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
11
13 d.title
14 d.title help
15 d.title [-dfs] map=name [color=string] [size=float] [--verbose]
16 [--quiet]
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 --verbose
29 Verbose module output
30
31 --quiet
32 Quiet module output
33
34 Parameters:
35 map=name
36 Name of input raster map
37
38 color=string
39 Sets the text color
40 Options: red,orange,yellow,green,blue,indigo,vio‐
41 let,white,black,gray,brown,magenta,aqua,grey,cyan,purple
42 Default: black
43
44 size=float
45 Sets the text size as percentage of the frame's height
46 Options: 0-100
47 Default: 4.0
48
50 d.title generates to standard output a string which can be used by
51 d.text to draw a TITLE for the raster map layer name in the active dis‐
52 play frame on the graphics monitor. Output created by d.title can be
53 redirected into a file, or piped directly into d.text to display the
54 map TITLE created by d.title. The map TITLE created will include the
55 map layer's name, TITLE, MAPSET, LOCATION_NAME, geographic region
56 boundary coordinates, and cell resolution. If the -d draw flag is
57 used, then d.title will call d.text for you and the title will be auto‐
58 matically rendered to the display.
59
61 The text created with d.text will not necessarily fit within the active
62 display frame on the graphics monitor; the user should choose a text
63 size appropriate to this frame.
64
66 For example, a user wishing to create a suitable TITLE for the
67 Spearfish, SD soils map layer and to display this TITLE in the active
68 display frame on the graphics monitor might type the following:
69 d.title map=soils color=red size=5 > TITLE.file
70 d.text < TITLE.file
71
72 Alternately, the user might pipe d.title output directly into d.text:
73 d.title map=soils color=red size=5 | d.text
74
75 A file created by d.title can be displayed with d.text. Information
76 contained in this file takes precedence over the color and size parame‐
77 ters for d.text.
78
80 d.font
81 d.font.freetype
82 d.text
83
85 James Westervelt, U.S. Army Construction Engineering Research Labora‐
86 tory
87
88 Last changed: $Date: 2007-06-18 10:31:48 +0200 (Mon, 18 Jun 2007) $
89
90 Full index
91
92 © 2003-2008 GRASS Development Team
93
94
95
96GRASS 6.3.0 d.title(1)