This example shows how to build surface by approximating areas with constant real numbers. In this example 5 different areas were used. Suppose that for three of them (area1, area3 and area5) exact values are known, for other two (area2 and area4) - only approximative values. So, we want to build surface, which approximates as exactly as possible values for areas 1,3 and 5, and "not so exactly" for areas 2 and 4.

See Also
area, area_add, completer

To produce this surface we should do the following things:

Here is the image of the resulting surface (green colour for areas 1,3 and 5, red colour for areas 2 and 4):

surface built from areas

Pic 1. Surface built from areas

This result was obtained with "examples/surfit/curvs/area.tcl" script.

surfit: gridding and contouring software.