1d.barscale(1) Grass User's Manual d.barscale(1)
2
3
4
6 d.barscale - Displays a barscale on the graphics monitor.
7
9 display, cartography
10
12 d.barscale
13 d.barscale --help
14 d.barscale [-ftn] [style=string] [at=x,y] [length=integer]
15 [units=string] [label=string] [segment=integer] [color=name]
16 [bgcolor=name] [text_position=string] [width_scale=float] [font‐
17 size=float] [--help] [--verbose] [--quiet] [--ui]
18
19 Flags:
20 -f
21 Use feet/miles instead of meters
22
23 -t
24 Draw the scale bar without text
25
26 -n
27 Display north-arrow symbol.
28
29 --help
30 Print usage summary
31
32 --verbose
33 Verbose module output
34
35 --quiet
36 Quiet module output
37
38 --ui
39 Force launching GUI dialog
40
41 Parameters:
42 style=string
43 Type of barscale to draw
44 Options: classic, line, solid, hollow, full_checker, part_checker,
45 mixed_checker, tail_checker, up_ticks, down_ticks, both_ticks,
46 arrow_ends
47 Default: classic
48 classic: Classic style
49 line: Line style
50 solid: Solid style
51 hollow: Hollow style
52 full_checker: Full checker style
53 part_checker: Part checker style
54 mixed_checker: Mixed checker style
55 tail_checker: Tail checker style
56 up_ticks: Up ticks style
57 down_ticks: Down ticks style
58 both_ticks: Both ticks style
59 arrow_ends: Arrow ends style
60
61 at=x,y
62 Screen coordinates of the rectangle’s top-left corner
63 (0,0) is lower-left of the display frame
64 Options: 0-100
65 Default: 0.0,10.0
66
67 length=integer
68 Length of barscale in map units
69 Options: 0-
70 Default: 0
71
72 units=string
73 Barscale units to display
74 Options: meters, kilometers, feet, miles
75
76 label=string
77 Custom label of unit
78
79 segment=integer
80 Number of segments
81 Options: 1-100
82 Default: 10
83
84 color=name
85 Bar scale and text color
86 Either a standard color name or R:G:B triplet
87 Default: black
88
89 bgcolor=name
90 Background color (drawn behind the bar)
91 Either a standard color name, R:G:B triplet, or "none"
92 Default: white
93
94 text_position=string
95 Text position
96 Options: under, over, left, right
97 Default: right
98
99 width_scale=float
100 Scale factor to change bar width
101 Options: 0.5-100
102 Default: 1
103
104 fontsize=float
105 Font size
106 Options: 1-360
107 Default: 12
108
110 d.barscale displays a barscale on the graphics monitor at the given
111 screen coordinates. If no coordinates are given it will draw the
112 barscale in the bottom left of the display.
113
114 The barscale can drawn in a number of styles (see style parameter for
115 their previews).
116
118 d.barscale will not work in Lat/Lon locations as the horizontal scale
119 distance changes with latitude. Try d.grid instead.
120
122 d.graph, d.grid, d.legend, d.northarrow, g.region
123
125 unknown, but from USACE/CERL.
126 Major rewrite for GRASS 7 by Hamish Bowman
127
128 Last changed: $Date: 2013-09-18 15:49:10 +0200 (Wed, 18 Sep 2013) $
129
131 Available at: d.barscale source code (history)
132
133 Main index | Display index | Topics index | Keywords index | Graphical
134 index | Full index
135
136 © 2003-2019 GRASS Development Team, GRASS GIS 7.4.4 Reference Manual
137
138
139
140GRASS 7.4.4 d.barscale(1)