mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
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).
This commit is contained in:
parent
f9cc2d4824
commit
883c15fb32
1 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue