ASCII Plotter

Allows you to plot simple graphs in ASCII. I use it when I want to visualize data real quick,
(for example, the numerical contents of a list).

Example usage:

In [15]: import aplotter
In [16]: aplotter.plot([1.0/(x+1) for x in range(29)])
   |
   |
   +1
   |
   |
   ||
   ||
   ||
   | |
   | |
   |  \
   |  \
   |   \
   |    \
   |     \\-
   |        --
   |          --------
   |                  ---------------------
---+0.034----------------------------------================================+----
   +0                                                                   +28

Among the features:

  • Plot x,y charts
  • Plot with or without (simple) interpolation
  • Plot with or without ascii-slopes (seen in the example)

The source in Python