summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 03a65c7)
raw | patch | inline | side by side (parent: 03a65c7)
author | acspike <acspike@users.sourceforge.net> | |
Sun, 19 Aug 2007 22:58:25 +0000 (22:58 +0000) | ||
committer | acspike <acspike@users.sourceforge.net> | |
Sun, 19 Aug 2007 22:58:25 +0000 (22:58 +0000) |
share/extensions/funcplot.py | patch | blob | history |
index 482df634a84c9d514e499e9c69ee4d6fbcb79431..3a64e4e95708856ae708bfde846d3e7037f424b7 100644 (file)
\r
# functions specified by the user\r
if fx != "":\r
- f = eval('lambda x: ' + fx)\r
+ f = eval('lambda x: ' + fx.strip('"'))\r
if fpx != "":\r
- fp = eval('lambda x: ' + fpx)\r
+ fp = eval('lambda x: ' + fpx.strip('"'))\r
\r
# step is the distance between nodes on x\r
step = (xend - xstart) / (samples-1)\r