From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: org-plot (generating graphs from org-mode) Date: Sun, 31 Aug 2008 17:52:42 -0700 Message-ID: <87k5dwpu05.fsf@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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZxen-0006pB-PS for emacs-orgmode@gnu.org; Sun, 31 Aug 2008 20:52:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZxel-0006mW-CK for emacs-orgmode@gnu.org; Sun, 31 Aug 2008 20:52:36 -0400 Received: from [199.232.76.173] (port=39504 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZxel-0006mQ-7M for emacs-orgmode@gnu.org; Sun, 31 Aug 2008 20:52:35 -0400 Received: from wf-out-1314.google.com ([209.85.200.169]:28965) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KZxek-00037A-T5 for emacs-orgmode@gnu.org; Sun, 31 Aug 2008 20:52:35 -0400 Received: by wf-out-1314.google.com with SMTP id 28so2603448wfc.24 for ; Sun, 31 Aug 2008 17:52:33 -0700 (PDT) In-Reply-To: <41c818190808290416q604adc63laaa0bf54f0e23bb1@mail.gmail.com> (William Henney's message of "Fri, 29 Aug 2008 06:16:50 -0500") 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: William Henney Cc: emacs-orgmode@gnu.org 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 detailed comments below... "William Henney" writes: > *** [2008-08-28 Thu] Finding the table to plot > =3Dorg-plot/goto-nearest-table=3D searches backward first, which means > that if point is located in an options line for a following table, > then it will find the previous table instead. This is usually > undesired. I changed this so it no longer looks backwards > *** [2008-08-28 Thu] Columns with multi-word text > Consider the following table: > > #+PLOT: title:"Citas" ind:0 deps:(3) type:2d with:histograms set:"yrange = [0:]" > | Sede | Max cites | H-index | > |-----------+-----------+---------| > | Chile | 257.72 | 21.39 | > | Leeds | 165.77 | 19.68 | > | S=C3=A3o Paolo | 71.00 | 11.50 | > | Stockholm | 134.19 | 14.33 | > | Morelia | 257.56 | 17.67 | > > In theory, this should plot the third column. However, the data > point for S=C3=A3o Paolo comes from the second column > instead. Presumably this is because of the embedded space in "S=C3=B5o > Paolo". If I replace it with a unicode non-breaking space, > "S=C3=A3o Paolo", then it works correctly. you're right, I am now quoting non-text columns on export which takes care of the problem you mentioned here. Also, org-plot is now using to gnuplot `xticlabel' command to use the `ind' column's values as labels in the case that they are text. (to demonstrate, plot your table from above with the ind:1 option). 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. Thanks -- Eric