An adaptable command-line trig function plotting program, used to plot common trig functions (e.g. sin)
On Linux, run:
$ gcc -o trig trig.c -lmExample:
$ ./trig -r 1 -d 3 -y 20 -x 3 -f cos-rGraph range ( -r < y < r ) Decimal or integer-dGraph domain in π ( 0 < x < dπ ) Decimal or integer-yGraph y-unit size in characters Integer-xGraph x-unit size in characters Integer-fFunction (sin, cos or tan) String
- Make plots outside of range not appear
- Make wavelength, period and translations options
- Fix rounding bugs
Created by Nasser Kessas
PRs accepted, feel free to dive in! Open an issue or submit PRs.
C Trig Grapher follows the Contributor Covenant Code of Conduct.
