From b881982543c13d47445b42837df99866bc8d2981 Mon Sep 17 00:00:00 2001 From: Jay Belanger Date: Tue, 21 Sep 2004 18:52:00 +0000 Subject: [PATCH] (calc-graph-add-curve): Moved the call to `calc-graph-set-styles' so the gnuplot buffer will appear in a separate window. --- lisp/calc/calc-graph.el | 14 +++++++------- 1 file 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 @@ "title \"" (symbol-name (nth 1 ydata)) "\" " "with dots") (setq pstyle (and (eq (car-safe pstyle) 'vec) (nth (1+ num) pstyle))) - (setq lstyle (and (eq (car-safe lstyle) 'vec) (nth (1+ num) lstyle))) - (calc-graph-set-styles - (or (and (Math-num-integerp lstyle) (math-trunc lstyle)) - 0) - (or (and (Math-num-integerp pstyle) (math-trunc pstyle)) - (if (eq (car-safe (calc-var-value (nth 2 ydata))) 'vec) - 0 -1)))))) + (setq lstyle (and (eq (car-safe lstyle) 'vec) (nth (1+ num) lstyle)))) + (calc-graph-set-styles + (or (and (Math-num-integerp lstyle) (math-trunc lstyle)) + 0) + (or (and (Math-num-integerp pstyle) (math-trunc pstyle)) + (if (eq (car-safe (calc-var-value (nth 2 ydata))) 'vec) + 0 -1))))) (defun calc-graph-lookup (thing) (if (and (eq (car-safe thing) 'var) -- 2.39.2