TableOfReal: Draw as scalable squares...

A command to draw the cells of the table as squares whose areas conform to the cell's value.

Settings

From row, To row
determine the rows to be drawn.
From column, To column
determine the columns to be drawn.
Origin
determines the drawing orientation. For a table with nrow rows and ncol columns:
    top-left: cel [1] [1] will be at the top left position in the drawing, cell [nrow] [ncol] will be at bottom right position.
    top-right: cel [1] [1] will be at the top right position in the drawing, cell [nrow] [ncol] will be at bottom left position.
    bottom-left: cel [1] [1] will be at the bottom left position in the drawing, cell [nrow] [ncol] will be at top right position.
    bottom-right: cel [1] [1] will be at the bottom right position in the drawing, cell [nrow] [ncol] will be at top left position.
Cell area scale factor
multiplies the area of each cell's square. If this factor is larger than 1.0 some of the squares might overlap.
Filling order
determines in what order the squares will be drawn. The order is only important if some of the squares overlap, i.e. if the cell area scale factor is larger than 1.0.
    rows: start with the first row, cell [1] [1] to cell [1] [ncol], next the second row, etc...
    columns start with column 1, cell [1] [1] to cell [nrow] [1], next column 2 etc...
    increasing values: first sort the cell values in increasing order and then start drawing them, the cell with the smallest value first.
    decreasing values: first sort the cell values in decreasing order and then start drawing them, the cell with the largest value first.
    random: draw cells in random order. If the cell area scale factor is larger than 1.0 this may result in a different graph of the same table for each successive call.

© djmw 20180304