python - Tricontour with triangle values -
i produce tricontour plot similar these matplotlib. difference between these examples , situation don't have values of function in grid points: defined in triangles (e.g. in centroid of each triangle).
i plot result of finite volume simulation, values defined each control volume, not each grid point.
i suppose 1 simple solution average values @ each grid point. know if there more direct solutions.
maybe not looking for, tripcolor
function designed use case (value defined @ triangle centroid)
see instance: http://matplotlib.org/examples/pylab_examples/tripcolor_demo.html
Comments
Post a Comment