Simple py logic to generate SVG visualizations of scientific data (example graphs).
The generated images tend to be significantly leaner than what general (non-SVG specific) plotting software generates. For example, a simple histogram is:
| Tool | Size | bzip2 Size |
|---|---|---|
| gnuplot | 48K | 4.5K |
| matplotlib.pyplot | 49K | 7.9K |
| mini_svg | 4.6K | 1.3K |
Plot types
Usage
There's two main interfaces:
- As a command-line which receives parameters from a json file.
See
.shfiles in the examples directory. - From Python (in-process) through the functions exposed in
mini_svg.