emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: William Henney <whenney@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-plot (generating graphs from org-mode)
Date: Sun, 31 Aug 2008 17:52:42 -0700	[thread overview]
Message-ID: <87k5dwpu05.fsf@gmail.com> (raw)
In-Reply-To: <41c818190808290416q604adc63laaa0bf54f0e23bb1@mail.gmail.com> (William Henney's message of "Fri, 29 Aug 2008 06:16:50 -0500")

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" <whenney@gmail.com> writes:
> *** [2008-08-28 Thu] Finding the table to plot
>     =org-plot/goto-nearest-table= 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ão 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ão Paolo comes from the second column
>     instead. Presumably this is because of the embedded space in "Sõo
>     Paolo". If I replace it with a unicode non-breaking space,
>     "São 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

  parent reply	other threads:[~2008-09-01  0:52 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20080826151404.0996C2179B@mailhost.cs.tu-berlin.de>
2008-08-26 17:57 ` Emacs-orgmode Digest, Vol 30, Issue 39 Stephan Schmitt
2008-08-26 18:08   ` Eric Schulte
2008-08-26 23:09     ` org-plot (generating graphs from org-mode) Eric Schulte
2008-08-27  9:30       ` Sebastian Rose
2008-08-27 15:02         ` Eric Schulte
2008-08-27  9:32       ` Sebastian Rose
2008-08-29 11:16       ` William Henney
2008-08-31 18:14         ` Eric Schulte
2008-09-03  3:25           ` William Henney
2008-09-01  0:52         ` Eric Schulte [this message]
2008-09-01 19:45           ` Seweryn Kokot
2008-09-01 20:17             ` Eric Schulte
2008-08-26  1:53 Eric Schulte
2008-08-26 10:02 ` Manish
2008-08-26 15:10   ` Eric Schulte
2008-09-01 14:27     ` Carsten Dominik
2008-08-26 12:24 ` Sebastian Rose
2008-08-26 12:36 ` Sebastian Rose
2008-08-26 15:08   ` Eric Schulte
2008-08-27 15:27 ` Samuel Wales
2008-08-27 22:18   ` Eric Schulte
2008-09-02 18:08 ` Thomas Baumann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k5dwpu05.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=whenney@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).