Subscribe
Subscribe to the GIS Tools mailing list, one of several low volume mailing lists alerting you to changes to this site.

Your email address:


 More Info
Scalebar Docs
· Introduction
· Selecting a Style
· Positioning the Scalebar
· Specifying Units
· Displaying the Scale As Text
· Controlling the Number of Intervals
· Text Attributes
· Scalebars With Multiple Units
· Adding a Wrapper to Your Scalebar
· The Scalebar Gallery
Downloads
Download the AML
Home Page | GIS Tools | Resume | Travel | Site Map
gis tools

Selecting a Scalebar Style

There are three major items that control the appearance of your scalebar: bar style, number style, and unit style. These can be set using the global variables .scalebar$barstyle, .scalebar$numstyle, and .scalebar$unitstyle to generate a large number of different scalebars.

For more control over how your scalebar appears, you can set the attributes of the text used to label the intervals and units. You can specify the units that will be displayed. It is also possible to set the number of intervals that will appear on the scalebar itself.

Bar Styles

You can use the .scalebar$barstyle variable to control the general appearance of your scalebar:

Bar Style 1 .scalebar$barstyle = 1
Bar Style 2 .scalebar$barstyle = 2
Bar Style 3 .scalebar$barstyle = 3
Bar Style 4 .scalebar$barstyle = 4
Bar Style 5 .scalebar$barstyle = 5
Bar Style 6 .scalebar$barstyle = 6
Bar Style 7 .scalebar$barstyle = 7
Bar Style 8 .scalebar$barstyle = 8
Bar Style 9 .scalebar$barstyle = 9
Bar Style 10 .scalebar$barstyle = 10

Number Styles

The .scalebar$numstyle variable sets the positioning of the numeric scalebar labels:

Number Style 1 .scalebar$numstyle = 1
Number Style 2 .scalebar$numstyle = 2
Number Style 3 .scalebar$numstyle = 3
Number Style 4 .scalebar$numstyle = 4

Unit Styles

Set .scalebar$unitstyle to control how and where the scalebar units are drawn:

Unit Style 1 .scalebar$unitstyle = 1
Unit Style 2.scalebar$unitstyle = 2
Unit Style 3 .scalebar$unitstyle = 3
Unit Style 4 .scalebar$unitstyle = 4
Unit Style 5 .scalebar$unitstyle = 5
Unit Style 6 .scalebar$unitstyle = 6


Top of page | Next: Positioning the Scalebar
Green Tea

Comments or questions to: