Create a Harris Matrix from archaeological stratigraphy data using Python and Graphviz. See the Harris Matrix Data Package for a revised and updated version
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
270 B

#! /usr/bin/env python
# -*- coding: utf-8 -*-
# © 2007 Stefano Costa
from harrisDb import *
from harrisGv import *
a = DbReader('example/matrix.db','relations')
b = a.returnList()
c = Db2Gv(b)
d = basicGraph(c.elist)
d.draw('matrix.png', format="png")