summaryrefslogtreecommitdiff
path: root/lisp/calc/calc-graph.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-01-27 04:27:42 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-01-27 04:27:42 +0100
commit883c15fb3244500901bb30bddc66c26e8a6ba200 (patch)
tree8279e6e41651915cd180cdbf6029c43215010fe7 /lisp/calc/calc-graph.el
parentf9cc2d48246fe8370e9286866e6115ba8e2acf44 (diff)
Fix setting of line/point style in calc gnuplot
* lisp/calc/calc-graph.el (calc-graph-set-styles): Modern gnuplot requires "ls" before the line style and "ps" before the point style (bug#46070).
Diffstat (limited to 'lisp/calc/calc-graph.el')
-rw-r--r--lisp/calc/calc-graph.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/calc/calc-graph.el b/lisp/calc/calc-graph.el
index 4785fb7fba2..423d1e64126 100644
--- a/lisp/calc/calc-graph.el
+++ b/lisp/calc/calc-graph.el
@@ -1136,11 +1136,11 @@ This \"dumb\" driver will be present in Gnuplot 3.0."
(if penbl "linespoints" "lines")
(if penbl "points" "dots"))))
(if (and pstyle (> pstyle 0))
- (insert " "
+ (insert " ls "
(if (and lstyle (> lstyle 0)) (int-to-string lstyle) "1")
- " " (int-to-string pstyle))
+ " ps " (int-to-string pstyle))
(if (and lstyle (> lstyle 0))
- (insert " " (int-to-string lstyle)))))))
+ (insert " ls " (int-to-string lstyle)))))))
(calc-graph-view-commands))
(defun calc-graph-zero-x (flag)