Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tutorials and some of my scripts for plotting, mainly used in computational chemistry filed.

tutorials: introductory tutorials for matplotlib (in Chinese)

plot.py: a general plot function based on matplotlib.

Usage:

python plot.py -i input_data_file 
python plot.py -i input_data_file -bar               #plot bar chart
python plot.py -i input_data_file -scattor          #plot scattor
python plot.py -i input_data_file -bar  -save test.png  #save the figure to disk

Assuming the first row of data file contains the label for the data.
The first column of the data file is used as x value, other columns are used y values.
If multiple y values are present, subplots will be created.

rmsd_2d.py: plot 2d-RMSD data generated by Amber.

Usage:

python rmsd_s2.py -i rms2d.dat -save xxx.png

If '-save' option is not presented, the image will directly display.
rmsd_2d.zip: example data of the 2D RMSD data.
rmsd 2d plot example

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages