Skip to content

gciruelos/termplot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

termplot

Build Status

Lightweight terminal-based mathematical function plotter.

Try it out

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

Official packages

How to use

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

Screenshots

Screen

TODO

  • Zooming just in one axis.
  • Replacing plots.
  • Read from commandline/stdin.
  • Better documentation.

Contributors