Render...Function Plotter analytical derivatives incorrect
Bug #230765 reported by
Sean McGivern
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
Unassigned | ||
Bug Description
In the Function Plotter, entering an analytical derivative in "First derivative" and unchecking "Calculate first derivative numerically" leads to an incorrect function in 0.46. This can be seen by entering x**2 as the function and 2*x as the first derivative with x-range -5.0 to 5.0 and y-range -0.1 to 30, any number of samples (at least up to 32). With "Calculate first derivative numerically" checked, beautiful parabola; without it, not a beautiful parabola. I also confirmed this with exp(-x*x) as the function and -2*x*exp(-x*x) as the derivative.
Changed in inkscape: | |
status: | New → Confirmed |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
attached is a modified version of the file C:\Program Files\Inkscape\ share\extension s\funcplot. py, which I believe should fix this problem. I modified the usage of the analytical first derivative.
hth...