Git Product home page Git Product logo

catplot's Introduction

catplot

Build Status Code Health platform versions

Introduction

CatPlot is a Python Library for Energy Profile and Abstract Grid(2D/3D) plotting.

Installation

  1. Via pip (recommend):

    pip install catplot
    
  2. From source:

    python setup.py install
    

See examples for more details(Continuously updated).

Energy Profile Plotting

CatPlot can plot energy profile using interpolation algorithm.

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/energy_profile.png

2D Grid Plotting

You can use CatPlot to plot abstract lattice grid, see example for details.

Result:

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

3D Grid Plotting

Now CatPlot can plot abstract 3D lattice grid, see example for plot details.

Result:

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

Important update log

Date Version Description
2017-04-23 1.2.0 Add 3D grid plotting
2017-04-17 1.1.0 Add 2D grid plotting
2017-04-10 1.0.0 A brand new CatPlot
2015-08-03 0.0.1 Intial Version

catplot's People

Contributors

pytlab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

catplot's Issues

Todos

Any feature or bugs in catplot could be added here:

1, fix bugs in chemical formula parsing.
2. add font settings.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.