generating contour plots for X,Y data in python

眉间皱痕 提交于 2019-12-11 05:59:58

问题


Hi im not sure if this has already been asked before but i couldn't find an answer to satisfy me.

if you had X,Y and Temperature data see below for an example. how would you plot the temperature contour of the data in python

X   Y  Temp   
0   0   23
0.1 0   23
0.2 0   23
0.3 0   23
0.4 0   23
0.5 0   23
0.6 0   23
0.7 0   23
0.8 0   23
0.9 0   23
1   0   23
0   0.1 23
0.1 0.1 23
0.2 0.1 23
0.3 0.1 23
0.4 0.1 23
0.5 0.1 23
0.6 0.1 23
0.7 0.1 23
0.8 0.1 23
0.9 0.1 23
1   0.1 23
0   0.2 24
0.1 0.2 24
0.2 0.2 24
0.3 0.2 24
0.4 0.2 24
0.5 0.2 24
0.6 0.2 24
0.7 0.2 24
0.8 0.2 24
0.9 0.2 24
1   0.2 24
0   0.3 23
0.1 0.3 23
0.2 0.3 23
0.3 0.3 23
0.4 0.3 23
0.5 0.3 23
0.6 0.3 23
0.7 0.3 23
0.8 0.3 23
0.9 0.3 23
1   0.3 23
0   0.4 25
0.1 0.4 25
0.2 0.4 25
0.3 0.4 25
0.4 0.4 25
0.5 0.4 25
0.6 0.4 25
0.7 0.4 25
0.8 0.4 25
0.9 0.4 25
1   0.4 25
0   0.5 23
0.1 0.5 23
0.2 0.5 23
0.3 0.5 23
0.4 0.5 23
0.5 0.5 23
0.6 0.5 23
0.7 0.5 23
0.8 0.5 23
0.9 0.5 23
1   0.5 23

来源:https://stackoverflow.com/questions/19905792/generating-contour-plots-for-x-y-data-in-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!