Re: [Matplotlib-users] matplolib imshow contour/heatmap

2014-03-17 Thread sweep
Hi Oliver, thanks for the reply. I know about contourf and have tried it before but couldn't get it working, I don't really understand the data objects in python (I come from a PHP background) i.e what a numpy object is and so on, so I was hoping someone with more experience in this could help me o

Re: [Matplotlib-users] matplolib imshow contour/heatmap

2014-03-16 Thread Oliver
The matplotlib function contourf() should do what you want. Have a look at this example: http://matplotlib.org/examples/pylab_examples/contourf_demo.html I apologize if it is not what you're looking for. I haven't read your whole script, because it is not *a minimal working example* (http://www.ss

[Matplotlib-users] matplolib imshow contour/heatmap

2014-03-15 Thread sweep
Hi, im trying to create a heatmap/colourmap/contour style plot similar to http://www.idlcoyote.com/cg_tips/outcontourbar.png but I cant seem to get it working correctly. The code takes a number of parameters on the command line because it is passed by an external PHP script. Essentially its a list