Photon

An interface to make paper ready plots

I got so tired of rewriting the similar codes over and over again to make plots that I have created a tool that makes them for me. Photon is a GUI created to make simple 1D plot in python. It uses mainly matplotlib and PyQt5 and it has been build in the spirit of being fully customizable. You can change fontstyle, fontsize, fontcolors, linewidth of the axes, thickness, etc…and see the changes directly in the plot. Once a customization is created, you can save it into a configuration file and reload it later when you open photon again. This allows you to keep the same customization for different plot. The main tool is a graphical user interface and it is started using a command line interface.

Example
Example of plot
Example
Example of plot

The interface looks like this:

Interface of Photon
Interface of photon.

Photon is available in the Astrophysics Source Code Library (Thomas, 2019) and the documentation is on GitHub.

References

2019

  1. ASCLnet.png
    Photon: Python tool for data plotting
    Romain Thomas
    Jan 2019