Main Content

plotsomtop

R2026b

(To be removed) Plot self-organizing map topology

plotsomtop will be removed in a future release. For more information, see Transition Legacy Neural Network Code to dlnetwork Workflows.

For advice on updating your code, see Version History.

Syntax

plotsomtop(net)

Description

plotsomtop(net) plots the topology of a SOM layer.

This plot supports SOM networks with hextop and gridtop topologies, but not tritop or randtop.

Examples

Plot SOM Topology

x = iris_dataset;
net = selforgmap([8 8]);
plotsomtop(net)

8-by-8 hexagonal SOM topology with neurons shown as blue-gray patches

Version History

Introduced in R2008a

collapse all