Skip to content

jicahoo/visualization

Repository files navigation

visualization

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.

Updates

  • 2018/03/19. 用这个小程序做的图,已经使用在论文中,并发表在Chemical Communication.

Learn matplotlib

Steps to setup enviroment

1. Download and install Anaconda

2. Download and install PyCharm

3. Create workspace in PyCharm

  • Click File -> New Project. Alt text
  • Choose python interpreter from Anaconda: Alt text

4. Copy data and python file into PyCharm

  • 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. Alt text
  • Copy files and just rigth click on Project folder, then click paste. Alt text

5. Run Python and get the chart.

  • Right click on the python file, then select run. Alt text
  • You will see result like blow, Alt text

HeatMap

Gaussian Fitting

Releases

No releases published

Packages

No packages published

Languages