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

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -