Skip to content

PaperDock/catplot

 
 

Repository files navigation

catplot

Build Status platform platform versions

Introduction

CatPlot is a Python library for plotting energy profile using interpolation algorithm.

Installation

  1. Via pip (recommend):

    pip install catplot
    
  2. From source:

    python setup.py install
    

Example

See examples for more details(Continuously updated).

Plot an energy profile for an elementary reaction.

>>> from catplot.ep_components.ep_canvas import EPCanvas
>>> from catplot.ep_components.ep_lines import ElementaryLine

# Create an energy profile canvas.
>>> canvas = EPCanvas()

# Create an energy profile line.
>>> line = ElementaryLine([0.0, 1.2, 0.8])

# Add line to canvas.
>>> canvas.add_line(line)

# Plot it.
>>> canvas.draw()
>>> canvas.figure.show()

Result:

https://github.com/PytLab/catplot/blob/master/pic/interactive.png

Important update log

Date Version Description
2017-04-10 1.0.0 A brand new CatPlot
2015-08-03 0.0.1 Intial Version

About

A Python Library for Energy Profile Plotting

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%