Hi everybody,
I am trying to plot a triangular grid from a textfile using triplot, but all
I get is some wired straight line
code:
import numpy as np
import matplotlib.pyplot as plt
x, y = np.loadtxt('points.dat', unpack=True)
triangles = np.loadtxt('triangles.dat', dtype=np.int32)
On 27 September 2010 15:37, radfahrer clem...@m-info.de wrote:
I am trying to plot a triangular grid from a textfile using triplot, but
all
I get is some wired straight line
Your triangulation consists of just two triangles, the first with vertices
(0, 0) (0.1, 0.1) (0.1, 0.1) and the second