hintmat

Purpose

Evaluates the coordinates of the patches for a Hinton diagram.

Synopsis

[xvals, yvals, color] = hintmat(w)

Description

[xvals, yvals, color] = hintmat(w)
takes a matrix w and returns coordinates xvals, yvals for the patches comrising the Hinton diagram, together with a vector color labelling the color (black or white) of the corresponding elements according to their sign.

See Also

hinton
Pages: Index

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