27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

898<br />

MAPS<br />

Example<br />

(SUM=function) The aggregation to be performed on the specified variable to produce<br />

the values represented by the symbol sizes. Not required if the variable<br />

is $COUNT.<br />

LEGENDTITLE The title for the legend. (DEFAULT) explicitly requests the default,<br />

which is the label of the variable represented by the symbols, or blank<br />

if counts are shown.<br />

VISIBLE Determines whether the theme is visible when the map is initially<br />

drawn. The default is YES. The alternative, NO, is useful on multipletheme<br />

maps where you intend to experiment with which themes to<br />

show.<br />

MAPS<br />

/GVAR = VAR(country)<br />

/GSET = ’World Countries’ LAYER=’World’<br />

/SYMBOLMAP= VAR(gdp_cap)<br />

SUM=(MEAN).<br />

• This command produces a map in which a symbol within each country is proportional to<br />

that country’s gross domestic product.<br />

• Because the data contain only one record per country, the MEAN summary function simply<br />

yields the value for each country.<br />

DOTMAP Subcommand<br />

A dot density map places within each region a number of dots proportional to the value of a<br />

summary function calculated on a single variable within each region. Because the dots must<br />

be spread across a region, the geographic variable used in a dot density map must correspond<br />

to a layer that contains area boundaries. Dots are distributed randomly within each region.<br />

VAR(varname) The variable whose values determine the density of dots for each<br />

region. $COUNT can be used instead of VAR(varname) to produce dot<br />

densities based on the count of cases within each geographic unit. This<br />

specification is required.<br />

(SUM=function) The aggregation to be performed on the specified variable to produce<br />

the values represented by the dot density. Not required if the variable<br />

is $COUNT.<br />

VALUE1DOT=n The data value represented by one dot. The specification can be any<br />

positive number, including decimal values less than 1.<br />

LEGENDTITLE The title for the legend. (DEFAULT) explicitly requests the default,<br />

which is the label of the variable represented by the dots, or blank if<br />

counts are shown.<br />

VISIBLE Determines whether the theme is visible when the map is initially<br />

drawn. The default is YES. The alternative, NO, is useful on multipletheme<br />

maps where you intend to experiment with which themes to<br />

show.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!