A sample Python program (based on matplotlib) to draw 2d histogram based on heatmap. And some enviroment setup tips for beginers. If you don't know what is matplotlib, check links in section 'Learn matplotlib'. All of them are Chinese materials. Then refer to section 'Steps to setup environment' to set up the environment on your computer.
- 2018/03/19. 用这个小程序做的图,已经使用在论文中,并发表在Chemical Communication.
- http://www.voidcn.com/blog/baibaibai66/article/p-5973503.html
- http://www.jianshu.com/p/ee8bb1bd0019
- Analysis on core of matplotlib
- https://www.continuum.io/downloads
- Choose Python 2.7 version.
- https://www.jetbrains.com/pycharm/download/#section=windows
- Choose community version.
- If the data in Excel, export it as csv. And name it after 2d_histogram.csv. And copy it to PyCharm project.
- Download python program from https://github.com/jicahoo/visualization. Just click the green button 'Clone or download', then select download zip.
- Copy files and just rigth click on Project folder, then click paste.
- https://stackoverflow.com/questions/35946821/smoothing-my-heatmap-in-python
- https://stackoverflow.com/questions/2369492/generate-a-heatmap-in-matplotlib-using-a-scatter-data-set
- https://stackoverflow.com/questions/9141732/how-does-numpy-histogram-work (What is bin in histogram)
- https://bl.ocks.org/herkulano/4f43dbf3473dc5503052
- https://www.gnu.org/software/gsl/manual/html_node/Two-dimensional-histograms.html