[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] org-plot (generating graphs from org-mode)
From: |
Eric Schulte |
Subject: |
Re: [Orgmode] org-plot (generating graphs from org-mode) |
Date: |
Sun, 31 Aug 2008 11:14:28 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
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" <address@hidden> 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 columns values as labels in
the case that they are text. (for an example 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