From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexander Klimov Newsgroups: gmane.emacs.devel Subject: calc-graph: "data style" is rejected by gnuplot 4.3.0 Date: Wed, 28 Apr 2010 18:19:08 +0300 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: dough.gmane.org 1272467975 27136 80.91.229.12 (28 Apr 2010 15:19:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Apr 2010 15:19:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: jay.p.belanger@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 28 17:19:29 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O792r-0006EL-8P for ged-emacs-devel@m.gmane.org; Wed, 28 Apr 2010 17:19:25 +0200 Original-Received: from localhost ([127.0.0.1]:56906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O792p-0001nE-KQ for ged-emacs-devel@m.gmane.org; Wed, 28 Apr 2010 11:19:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O792j-0001n9-OS for emacs-devel@gnu.org; Wed, 28 Apr 2010 11:19:17 -0400 Original-Received: from [140.186.70.92] (port=46911 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O792i-0001my-Fp for emacs-devel@gnu.org; Wed, 28 Apr 2010 11:19:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O792h-0003kJ-7P for emacs-devel@gnu.org; Wed, 28 Apr 2010 11:19:16 -0400 Original-Received: from www.eitan.edu ([199.203.54.24]:41177 helo=eitan.edu) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O792g-0003ic-MH for emacs-devel@gnu.org; Wed, 28 Apr 2010 11:19:15 -0400 Original-Received: (qmail 26770 invoked from network); 28 Apr 2010 15:19:08 -0000 Original-Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 28 Apr 2010 15:19:08 -0000 X-detected-operating-system: by eggs.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:124297 Archived-At: 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