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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -