Function Graphing Tool

Started by GW, January 12, 2022, 16:43:16

Previous topic - Next topic

GW

I wrote a function graphing tool that might be useful for others to use.  Sometimes I use graphtoy.com in my work but needed something a little more customized. 
Type in your own expressions and graph the output.
Written in BmaxNG and uses Brucey's muparser mod and ifsogui.  Thanks Brucey!


Controls:
   Mouse Wheel and Up/Down key -> zoom graph
   mouse left click and drag -> pan graph
   'r' -> reset graph window
   'enter'  -> update editing function
   'escape' -> quit

Download source and windows exe




GW

made some improvements and updates.

Update: 0.2
   Added saving png of graph  (ctrl-p)
   Functions can now reference other functions (beware of recursion) EX: "f1(x)+f2(x)"
   enable copy and paste with clipboard (ctrl-c, ctrl-v)
   smoothed line drawing
   added popup of builting functions (F1)
   fixes some bugs.