I'm searching for a tool or a programming library that can plot many complex functions (Examples below) as created-on-the-fly interactive graph. So kind of how game rendering works: There are given functions, that describe how everything looks, but only the small portion, that is shown on screen will really be evaluated.
( I have difficulties explaining this concisely and good. I appreciate if someone can help me improving the question)
Below are some simplified examples of the functions I'm plotting.
f1(x): return x*2`
f2(x): if (x > 20): return 1 return 0
f3(x): if (f2 (x) >= 0): return 1 return 0
- OS: Linux
- (for the sake of completeness, feel free to mention other plattforms as well)
- Cost: free is welcome, paid is ok
What I've tried
For plotting in general I've used Python + numpy + plotly (for gaining interactive plots). However, with a worst case of about 946,080,000 data points and 50+ functions, this became quite unfeasable.