From mboxrd@z Thu Jan 1 00:00:00 1970 From: "William Henney" Subject: Re: org-plot (generating graphs from org-mode) Date: Tue, 2 Sep 2008 22:25:38 -0500 Message-ID: <41c818190809022025x1b2cebdbu55ad6b8431d035a2@mail.gmail.com> References: <20080826151404.0996C2179B@mailhost.cs.tu-berlin.de> <48B44416.3050803@cs.tu-berlin.de> <18612.18092.519087.620736@gargle.gargle.HOWL> <18612.36132.993382.133344@gargle.gargle.HOWL> <41c818190808290416q604adc63laaa0bf54f0e23bb1@mail.gmail.com> <87sksloxvf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kaj05-0000Tg-2x for emacs-orgmode@gnu.org; Tue, 02 Sep 2008 23:25:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kaj03-0000TH-Hu for emacs-orgmode@gnu.org; Tue, 02 Sep 2008 23:25:44 -0400 Received: from [199.232.76.173] (port=57212 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kaj03-0000T7-DK for emacs-orgmode@gnu.org; Tue, 02 Sep 2008 23:25:43 -0400 Received: from ey-out-1920.google.com ([74.125.78.144]:22101) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kaj01-0007nM-11 for emacs-orgmode@gnu.org; Tue, 02 Sep 2008 23:25:41 -0400 Received: by ey-out-1920.google.com with SMTP id 4so1063609eyg.24 for ; Tue, 02 Sep 2008 20:25:38 -0700 (PDT) In-Reply-To: <87sksloxvf.fsf@gmail.com> Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: emacs-orgmode@gnu.org Hi Eric On Sun, Aug 31, 2008 at 1:14 PM, Eric Schulte wrot= e: > > Thanks for the feedback, much appreciated. A new version of org-plot is > up on the git repo http://github.com/eschulte/org-plot/tree/master > I can confirm that the new version fixes both the problems that I reported. Furthermore, the new option to use a column of text labels for the x-axis is wonderful. Thanks! > If you don't mind, I would like to add the > table you sent above to the example.org file in org-plot to demonstrate > this feature. > Yes, by all means, go ahead. I've run into a couple more minor problems that might be worth looking into if you have the time. **** Writing plot to file Two issues here: 1. The suffix of the output file must exactly match the name of a gnuplot terminal type. Thus file:"foo.jpeg" works, but file:"foo.jpg" doesn't. Similarly, one needs to use ".postscript" instead of ".ps". 2. Some terminals seem to work, but some don't (there is no error message and the ouput file is created, but it is empty): =09- Works :: jpeg, png, svg, postscript, mp =09- Fails :: pdf (OK, this seems to be the only one - weird) **** Non-ascii characters in strings These tend not to work. However, the results vary according to the output terminal in use, so I suspect that this may be due to bugs in gnuplot. My version is :=09G N U P L O T: :=09Version 4.2 patchlevel 3 :=09last modified Mar 2008 :=09System: Darwin 9.4.0 One strange thing is that, even if the .org file is utf8, the graphics file seems to get written as latin-1. Cheers Will --=20 Dr William Henney, Centro de Radioastronom=EDa y Astrof=EDsica, Universidad Nacional Aut=F3noma de M=E9xico, Campus Morelia