aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Belanger2004-09-21 18:52:00 +0000
committerJay Belanger2004-09-21 18:52:00 +0000
commitb881982543c13d47445b42837df99866bc8d2981 (patch)
treee9e26450cbda3769004e30d24d7919dac7860856
parent88a74fa51b4dc8763b607a90f0ee8a099f193a24 (diff)
downloademacs-b881982543c13d47445b42837df99866bc8d2981.tar.gz
emacs-b881982543c13d47445b42837df99866bc8d2981.zip
(calc-graph-add-curve): Moved the call to `calc-graph-set-styles' so
the gnuplot buffer will appear in a separate window.
-rw-r--r--lisp/calc/calc-graph.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/calc/calc-graph.el b/lisp/calc/calc-graph.el
index df7bbe377ab..70d044c202e 100644
--- a/lisp/calc/calc-graph.el
+++ b/lisp/calc/calc-graph.el
@@ -210,13 +210,13 @@
210 "title \"" (symbol-name (nth 1 ydata)) "\" " 210 "title \"" (symbol-name (nth 1 ydata)) "\" "
211 "with dots") 211 "with dots")
212 (setq pstyle (and (eq (car-safe pstyle) 'vec) (nth (1+ num) pstyle))) 212 (setq pstyle (and (eq (car-safe pstyle) 'vec) (nth (1+ num) pstyle)))
213 (setq lstyle (and (eq (car-safe lstyle) 'vec) (nth (1+ num) lstyle))) 213 (setq lstyle (and (eq (car-safe lstyle) 'vec) (nth (1+ num) lstyle))))
214 (calc-graph-set-styles 214 (calc-graph-set-styles
215 (or (and (Math-num-integerp lstyle) (math-trunc lstyle)) 215 (or (and (Math-num-integerp lstyle) (math-trunc lstyle))
216 0) 216 0)
217 (or (and (Math-num-integerp pstyle) (math-trunc pstyle)) 217 (or (and (Math-num-integerp pstyle) (math-trunc pstyle))
218 (if (eq (car-safe (calc-var-value (nth 2 ydata))) 'vec) 218 (if (eq (car-safe (calc-var-value (nth 2 ydata))) 'vec)
219 0 -1)))))) 219 0 -1)))))
220 220
221(defun calc-graph-lookup (thing) 221(defun calc-graph-lookup (thing)
222 (if (and (eq (car-safe thing) 'var) 222 (if (and (eq (car-safe thing) 'var)