visualization | mPower Reference Home |

visualization[options] draws a picture of a Bounded Cell Voronoi diagram (see boundedCellVoronoi). Any Plot option can be specified in addition to the following options.

Options:

boundedCellVoronoi→{}, if the bounded cell Voronoi diagram is known, it can be provided as input. Otherwise, it will be calculated internally from cellCoordinates.

cellColors→{color1, color2,...}, one color for each cell.

cellCoordinates→
{{x_{1},y_{1}},{x_{2},y_{2}},...} gives the coordinates of points on which the
Voronoi Diagram is based. This option is required if boundedCellVoronoi is not
provided.

cellNumbers→False, if True, will print the cell numbers on the figure.

cellWallColors→ {{i,j, color}, {i,j,color}, ...}, each {i,j} pair must be connected. color is used for the wall between cell i and cell j. Overrides wallColors.

wallColors→{c_{1},c_{2},...}, where c_{i}
represents the wall color of the entire cell i, can be overridden by
cellWallColors.

wallCoordinates→{wall_{1}, wall_{2}, ...},
where each wall_{k} has the format
{{i,j}, {{x_{1},y_{1}}, {x_{2},y_{2}}}}.
If not provided then will be calculated internally.

wallThickness→0.004 - thickness of the walls between cells.

[20-Dec-2005]