Comments (12)
You have to use -3.0/2*x-3. one of the values of the division must be a float number (python 2 limitations).
There is another way of ensuring proper division (i.e. not truncating division) I will implement it and upload a new version soon.
BTW: isn't your question concerning inkscapeCartesianPlotFunction2D repository?
from inkscapecartesianplotdata2d.
It should work now. Download the .py again.
from inkscapecartesianplotdata2d.
That worked! Thanks!
Is there a good place to find out how the functions need to be entered for non-python folks?
from inkscapecartesianplotdata2d.
https://docs.python.org/2/library/math.html
from inkscapecartesianplotdata2d.
One last question. I am trying to plot x=-1 but this throws an error. Do I have to format this a certain way?
from inkscapecartesianplotdata2d.
x=-1 is not a function (vertical line, crossing x axis at x=-1). Did you mean y=-1 (horizontal line crossing y axis at -1)?
The first case will not work, The second should work just fine by typing -1 at the Function field. It works here in my computer.
If you really need to plot x=-1, then it is better to generate only the axes (https://github.com/fsmMLK/inkscapeCartesianAxes2D) and add the line manually.
PS: thanks for reporting the issue with the division operation. Let me know if you still find problems.
from inkscapecartesianplotdata2d.
Makes sense. Thanks again. This extension is going to save me so much time building graphics!
from inkscapecartesianplotdata2d.
from inkscapecartesianplotdata2d.
abs(x)
from inkscapecartesianplotdata2d.
from inkscapecartesianplotdata2d.
Are you using negative x limit? Remember that sqrt of negative numbers are complex. The function will fail in such case.
from inkscapecartesianplotdata2d.
from inkscapecartesianplotdata2d.
Related Issues (4)
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 inkscapecartesianplotdata2d.