Comments (1)
Okay, I found a solution, maybe it seems not that beautiful accessing both array slots but it works for my tests:
case FOOPLOT_TYPE_POINTS:
if(eq.length===null) return null;
eq[0][0] = this.parseConst(eq[0][0]);
eq[0][1] = this.parseConst(eq[0][1]);
// eq[0][0] = eq[0][0].replace('pi', this.vars.pi).replace('e', this.vars.e);
// eq[0][1] = eq[0][1].replace('pi', this.vars.pi).replace('e', this.vars.e);
this.plots.push({'id':this.plotlastid++,'type':type,'eq':eq,'options':options});
break;
from fooplot.
Related Issues (13)
- How to change the line width in fooplot? HOT 2
- How to use fooplot as parser?
- fooplot.com is down
- a question about example HOT 1
- ask about area between two crves
- How to plot functions with absolute values |x^3+1|?
- How to draw a single point with fooplot? HOT 1
- How to draw lines between points? And how to color an area? HOT 1
- Variable next to bracket seems not to work, e.g. x(1+x) HOT 1
- How to draw a function with x>0 (piecewise function)? HOT 3
- How to fill the area below a graph or between graphs?
- Plot of (x-4)^(3)*x^2*(x+5) missing one part of the graph HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fooplot.