MasFlam / notcurses-fplot

Notcurses function plotter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Notcurses function plotter

Function plotting program for the terminal, powered by Notcurses. A practical example use of ncvisual with NCBLIT_PIXEL. It also implements Wu's line drawing algorithm.

Configuration

The configuration is changed through config.h. You can change the function to plot and the domain to plot it in. The function can be any function that takes a double and returns a double.

Building

Make sure Notcurses is installed (on Debian it's libnotcurses-dev). Then run make to compile and link the fplot executable.

About

Notcurses function plotter

License:GNU General Public License v3.0


Languages

Language:C 97.8%Language:Makefile 2.2%