Lightweight terminal-based mathematical function plotter.
First you have to clone the repository
git clone https://github.com/gciruelos/termplot.git
cd termplot
If you have termbox, you can compile termplot
by running
make termbox
Otherwise, you can use the old-fashioned ncurses
make ncurses
Then run it
./termplot
./termplot --help
- Archlinux (AUR): termplot.
Termplot supports vim-like commands, so you can type
:plot sin(x^2)
And it will work. Termplot can also plot implicit functions, like
:plot x^2+y^2 = 1
- Zooming just in one axis.
- Replacing plots.
- Read from commandline/stdin.
- Better documentation.