emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-babel-gnuplot-quote-tsv-field does not work; org-plot-quote-tsv-field does though
@ 2014-01-05  7:58 Miguel Ruiz
  2014-01-08 16:53 ` Eric Schulte
  0 siblings, 1 reply; 2+ messages in thread
From: Miguel Ruiz @ 2014-01-05  7:58 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 828 bytes --]

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.


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/)

[-- Attachment #2: Type: text/html, Size: 3121 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: org-babel-gnuplot-quote-tsv-field does not work; org-plot-quote-tsv-field does though
  2014-01-05  7:58 org-babel-gnuplot-quote-tsv-field does not work; org-plot-quote-tsv-field does though Miguel Ruiz
@ 2014-01-08 16:53 ` Eric Schulte
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Schulte @ 2014-01-08 16:53 UTC (permalink / raw)
  To: Miguel Ruiz; +Cc: emacs-orgmode@gnu.org

Miguel Ruiz <rbenit68@yahoo.es> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-08 16:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-05  7:58 org-babel-gnuplot-quote-tsv-field does not work; org-plot-quote-tsv-field does though Miguel Ruiz
2014-01-08 16:53 ` Eric Schulte

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).