Skip to content

YujiSODE/csvContour

Repository files navigation

csvContour

Tool to draw text contour map
GitHub: https://github.com/YujiSODE/csvContour

Copyright (c) 2020 Yuji SODE <yuji.sode@gmail.com>
This software is released under the MIT License.
See LICENSE or http://opensource.org/licenses/mit-license.php


1. Description

csvContour is tool to draw text contour map from a numerical csv text map, based on right down neighborhood.

2. Concept for right down neighborhood of cells

Right down neighborhood was employed to detect area boundaries.

Right down neighborhood

right down neighborhood: c0 and c1 to c3
[c0|c1]
[c2|c3]
  • Vi = c0 != ci ? 1 : 0, and i = 1, 2 and 3
  • rule: R(V1,V2,V3)

Boundaries

Boundary is regarded as a fault line when values of two areas much differ from each other.

3. Script

Tcl

It requires Tcl 8.6+.

JavaScript