draw a map with clustering

the result is an Encapsulated PostScript image


mapclust [-o filename] [-u filename] [-b] [-B] [-I] [-O] [-p] [-r] [-R] [-s] [-T] [-C] configfile clusterfile number

mapclust -i [-o filename] [-u filename] [-b] [-B] [-I] [-p] [-r] [-R] [-s] [-T] configfile indexfile


use indexed data instead of clustering data
-o filename
output file
don't use colours, use cluster borders (without preserved areas)
don't use colours, use cluster borders (with preserved areas)
don't use colours, use cluster numbers
reorder colours
don't use colours, use black/white patterns (PS level 2)
rainbow colours, light and dark
rainbow colours, light
don't use colours, use symbols
-u filename
user-defined colours, see Colour file

Options -b or -B can be combined with -I or -p or -s.


This programs draws a map, and divides it into a number of clusters. Each cluster is given a separate colour, or black and white pattern (if the option -p is used). These colours or patterns correspond to those used by the program den if you use the same number of clusters.

See Map configuration file for the syntax of the configfile.

The clusterfile contains a hierarchical clustering, as created by the program cluster.

The final argument must be a number between 2 and 19, inclusive.

Cluster borders

You can get borders between clusters by using either the option -b or -B. With the second option you also get borders between areas with data and areas without data.


And indexfile is a file with a list of labels already assigned to groups. Groups are numbered starting from 1. Example:
    # Two items in group 1:
    1  label a
    1  "label b"
    # Two items in group 2:
    2  third label
    2  fourth label