[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-babel-gnuplot-quote-tsv-field does not work; org-plot-quote-
From: |
Eric Schulte |
Subject: |
Re: [O] org-babel-gnuplot-quote-tsv-field does not work; org-plot-quote-tsv-field does though |
Date: |
Wed, 08 Jan 2014 09:53:37 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Miguel Ruiz <address@hidden> writes:
> Hi,
>
> I cannot get temp data file from org-babel-gnuplot with quoted row
> labels. I have tried org-plot/gnuplot and it provides a correct temp
> data file but it freezes so it is no useful by now.
>
> My test table:
>
> | Sede | Max cites | H-index |
> |-----------+-----------+---------|
> | Chile | 257.72 | 21.39 |
> | Leeds | 165.77 | 19.68 |
> | Sao Paolo | 71.00 | 11.50 | ; without quotes (in temp data file),
> gnuplot sees 4 columns
> | Stockholm | 134.19 | 14.33 |
> | Morelia | 257.56 | 17.67 |
>
> I would appreciate any hint.
>
Please re-try this from the HEAD of the master branch, I believe it has
been fixed by a recent commit. The following works for me.
#+name: cities
| Sede | Max cites | H-index |
|-----------+-----------+---------|
| Chile | 257.72 | 21.39 |
| Leeds | 165.77 | 19.68 |
| Sao Paolo | 71.00 | 11.50 |
| Stockholm | 134.19 | 14.33 |
| Morelia | 257.56 | 17.67 |
#+begin_src gnuplot :var data=cities
set boxwidth 0.9 absolute
set style fill solid 1.00 border lt -1
set style data histogram
plot data using 2:xtic(1) ti "Max cites", data u 3 ti "H-index"
#+end_src
>
>
> TIA,
>
> Miguel Ruiz.
>
>
> CYGWIN_NT-6.1-WOW64 usuario-PC 1.7.27(0.271/5/3) 2013-12-09 11:57 i686 Cygwin
> GNU Emacs (emacs-w32) 24.3.1 (i686-pc-cygwin) of 2013-08-14 on moufang
> Org-mode version 8.2.5a (release_8.2.5a @ /home/usuario/org-mode/maint/lisp/)
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D