RuG/L04

Manuals

mapclust

Description

draw a map with clustering

the result is an Encapsulated PostScript image

Synopsis

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

Options

-i
use indexed data instead of clustering data
-o filename
output file
-b
don't use colours, use cluster borders (without preserved areas)
-B
don't use colours, use cluster borders (with preserved areas)
-I
don't use colours, use cluster numbers
-O
reorder colours
-p
don't use colours, use black/white patterns (PS level 2)
-r
rainbow colours, light and dark
-R
rainbow colours, light
-s
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.

Purpose

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.

Indexfile

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