somplot-package: Plot hexagonal Kohonen maps

Description Details Author(s) References


The package provides a function som.plot() for generating high-quality plots of hexagonal self-organising maps (SOMs), which have been created with Teuvo Kohonen's SOM_PAK software.


Package: somplot
Type: Package
Version: 1.6.1
Date: 2013-01-30
License: GPL
LazyLoad: yes

Two files are necessary for plotting the result of a SOM_PAK run:

  • The output file of visual provides the mapping of input patterns to the codebook vectors.

  • The input file holds all patterns of the dataset with class information in the last column.

A visualisation with default parameters can be created by calling the function som.plot( visfile, datfile). The plot can be customised, by providing additional arguments for colouring, scaling, orientation or legend.


Benjamin Schulz, Andreas Dominik Maintainer: <>


Schulz, B., Mauthe, T., Dominik, A., 2010. Visualisation of Kohonen Maps using R. THM University of Applied Sciences, Giessen, Germany Website, [Online]. Available at: [Accessed 19 May 2011]. and

Search within the somplot package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.