1d.title(1) Grass User's Manual d.title(1)
2
3
4
6 d.title - Outputs a TITLE for a raster map layer in a form suitable
7 for display by d.text.
8
10 display
11
13 d.title
14 d.title help
15 d.title [-f] map=string [color=string] [size=float]
16
17 Flags:
18 -f Do a fancier title
19
20 Parameters:
21 map=string
22 Name of existing raster map
23
24 color=string
25 Sets the text color Options: red,orange,yel‐
26 low,green,blue,indigo,vio‐
27 let,white,black,gray,brown,magenta,aqua,grey,cyan,purple Default:
28 black
29
30 size=float
31 Sets the text size as percentage of the frame's height Options:
32 0-100 Default: 4.0
33
35 d.title generates to standard output a string which can be used by
36 d.text to draw a TITLE for the raster map layer name in the active dis‐
37 play frame on the graphics monitor. Output created by d.title can be
38 redirected into a file, or piped directly into d.text to display the
39 map TITLE created by d.title. The map TITLE created will include the
40 map layer's name, TITLE, MAPSET, LOCATION_NAME, geographic region
41 boundary coordinates, and cell resolution.
42
44 For example, a user wishing to create a suitable TITLE for the
45 Spearfish, SD soils map layer and to display this TITLE in the active
46 display frame on the graphics monitor might type the following: d.title
47 map=soils color=red size=5 > TITLE.file d.text < TITLE.file
48
49 Alternately, the user might pipe d.title output directly into d.text:
50 d.title map=soils color=red size=5 | d.text
51
52 A file created by d.title can be displayed with d.text. Information
53 contained in this file takes precedence over the color and size parame‐
54 ters for d.text.
55
57 The text created with d.text will not necessarily fit within the active
58 display frame on the graphics monitor; the user should choose a text
59 size appropriate to this frame.
60
62 d.font
63 d.font.freetype
64 d.text
65
67 James Westervelt, U.S. Army Construction Engineering Research Labora‐
68 tory
69
70 Last changed: $Date: 2005/09/19 07:20:20 $
71
72 Full index
73
74
75
76GRASS 6.2.2 d.title(1)