* calc-graph: "data style" is rejected by gnuplot 4.3.0
@ 2010-04-28 15:19 Alexander Klimov
2010-04-28 16:57 ` Jay Belanger
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Klimov @ 2010-04-28 15:19 UTC (permalink / raw)
To: jay.p.belanger; +Cc: emacs-devel
Hi.
With
$ gnuplot --version
gnuplot 4.3 patchlevel 0
it is impossible to plot from Calc with `g f' (calc-graph-fast). The
reason is that the long-deprecated syntax is not accepted by this
version of gnuplot:
gnuplot> set data style linespoints
^
valid set options: [] = choose one, {} means optional
[...] 'style', 'surface', 'terminal', 'tics', [...]
The following patch fixes the problem:
=== modified file 'lisp/calc/calc-graph.el'
--- lisp/calc/calc-graph.el 2010-01-13 08:35:10 +0000
+++ lisp/calc/calc-graph.el 2010-04-28 15:09:39 +0000
@@ -345,7 +345,7 @@
"set xlabel\nset ylabel\nset title\n"
"set noclip points\nset clip one\nset clip two\n"
"set format \"%g\"\nset tics\nset xtics\nset ytics\n"
- "set data style linespoints\n"
+ "set style data linespoints\n"
"set nogrid\nset nokey\nset nopolar\n"))
(if (>= ver 3)
(insert "set surface\nset nocontour\n"
--
Regards,
ASK
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-28 16:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-28 15:19 calc-graph: "data style" is rejected by gnuplot 4.3.0 Alexander Klimov
2010-04-28 16:57 ` Jay Belanger
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.