Annotate Dictionary |
Variables written out: | FUNCTION, STYLE, COLOR, SIZE, HSYS |
Prerequisite: | You must run the %ANNOMAC macro before using any other annotate macros. For more information, see Making the Macros Available. |
Syntax |
Syntax |
%MAPLABEL (map-dataset, attr-dataset,output-dataset,label-var,id-list,font=font_name,color=n,size=n,hsys=n); |
the name of the map to be annotated.
Note: If you specify a feature table in your GMAP procedure step, then you should specify the map data set that corresponds to that feature table.
the name of the dataset containing the text to be shown on each ID value.
the name of the label variable to place on the map (the text for annotate).
the list of ID vars that you would issue in PROC GMAP to create the map. These values need to be on both the map and the attribute data sets. If you also supply the SEGMENT variable, then every polygon will get a value. Without the SEGMENT variable, only one label per ID set will be shown over the collection of polygons. For instance, Hawaii with SEGMENT gets a label on each island, whereas without SEGMENT, there is only one label centered on the entire set of islands.
specifies a font name for the STYLE Variable (Fonts) variable.
specifies a value for the COLOR Variable variable.
specifies a value for the SIZE Variable variable. Defaults to 2.
specifies a value for the HSYS Variable variable. Defaults to 3.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.