Matrix: Draw as squares...

A command to draw a Matrix object into the Picture window.

Settings

Xmin
Xmax
the windowing domain in the x direction. Elements outside will not be drawn. Autowindowing: if (XminXmax), the entire x domain [xmin, xmax] of the Matrix is used.
Ymin
Ymax
the windowing domain in the y direction. Elements outside will not be drawn. Autowindowing: if (YminYmax), the entire y domain [ymin, ymax] of the Matrix is used.
Garnish
determines whether axes are drawn around the picture. Turn this button off if you prefer to garnish your picture by yourself with the Margins menu.

Behaviour

For every element of the Matrix inside the specified windowing domain, an opaque white or black rectangle is painted (white if the value of the element is positive, black if it is negative), surrounded by a thin black box. The area of the rectangle is proportional to the value of the element.

Trick

If you prefer the sides of the rectangle (instead of the area) to be proportional to the value of the element, you can use the formula "self^2" before drawing (see Matrix: Formula...).


© ppgb 19980319