diff options
| author | Mike Pittman <thepittos@yahoo.com.au> | 2008-05-19 04:03:03 +0000 |
|---|---|---|
| committer | ozmikepittman <ozmikepittman@users.sourceforge.net> | 2008-05-19 04:03:03 +0000 |
| commit | 7c089436aeb72007fa03465a19cc8ea76d363f69 (patch) | |
| tree | e2f148b54f2624610ddd60d91e53cafd096e8e87 | |
| parent | Add a function doOnApply() for LPEs which is executed once when the effect is... (diff) | |
| download | inkscape-7c089436aeb72007fa03465a19cc8ea76d363f69.tar.gz inkscape-7c089436aeb72007fa03465a19cc8ea76d363f69.zip | |
Fixed minor error in the Function Plotter extension - see LP #230765
(bzr r5699)
| -rw-r--r-- | share/extensions/funcplot.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/extensions/funcplot.py b/share/extensions/funcplot.py index 0b7c77ec9..24d6951b3 100644 --- a/share/extensions/funcplot.py +++ b/share/extensions/funcplot.py @@ -114,7 +114,7 @@ def drawfunction(xstart, xend, ybottom, ytop, samples, width, height, left, bott dx0 = (x1 - x0)/ds dy0 = (y1 - y0)/ds else: # derivative given by the user - dx0 = 0 # Only works for rectangular coordinates + dx0 = 1 # Only works for rectangular coordinates dy0 = fp(xstart) # Start curve @@ -138,7 +138,7 @@ def drawfunction(xstart, xend, ybottom, ytop, samples, width, height, left, bott dx1 = (x1 - x2)/ds dy1 = (y1 - y2)/ds else: # derivative given by the user - dx1 = 0 # Only works for rectangular coordinates + dx1 = 1 # Only works for rectangular coordinates dy1 = fp(x1) # create curve a.append([' C ', |
