Ooops
January 25, 2022, 07:15:21

Author Topic: Function Graphing Tool  (Read 137 times)

Offline GW

  • Full Member
  • ***
  • Posts: 234
Function Graphing Tool
« on: January 12, 2022, 16:43:16 »
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



« Last Edit: January 14, 2022, 22:00:20 by GW »

Offline GW

  • Full Member
  • ***
  • Posts: 234
Re: Function Graphing Tool
« Reply #1 on: January 14, 2022, 22:00:04 »
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.

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal