# hinton

## Purpose

Plot Hinton diagram for a weight matrix.

## Synopsis

    hinton(w)
    h = hinton(w)

## Description

`hinton(w)` takes a matrix `w` and plots the Hinton diagram.

`h = hinton(net)` also returns the figure handle `h` which can be used, for instance, to delete the figure when it is no longer needed.

To print the figure correctly in black and white, you should call `set(h, 'InvertHardCopy', 'off')` before printing.

## See Also

`demhint`, `hintmat`, `mlphint`

Pages: Index

Copyright (c) Ian T Nabney (1996-9)