emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] using gnuplot's "splot" and "every" commands on org-mode table d


From: Eric Schulte
Subject: Re: [O] using gnuplot's "splot" and "every" commands on org-mode table data
Date: Wed, 08 May 2013 08:46:39 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Paul Stansell <address@hidden> writes:

> Hi Eric,
>
> My view is that the removal of '""'s will always be preferable for
> gnuplot as it uses what it calls datablocks which are delimited by
> blank lines (see, for example,
> http://gnuplot.sourceforge.net/docs_4.2/node121.html and
> http://gnuplot.sourceforge.net/docs_4.2/node61.html).
>
> Paul

Hi Paul,

I think examples like the following may be more common than data
blocks.

#+name: data
| 1 |  2 |
| 2 |  4 |
| 3 |  8 |
|   | 16 |
|   |    |
| 6 | 16 |
| 7 |  8 |
|   |  4 |
| 9 |  2 |

#+begin_src gnuplot :var data=data :results silent
  plot data u 0:1, '' u 0:2
#+end_src
Replacing ""s with blank space in the following breaks the resulting
plot.

Cheers,

-- 
Eric Schulte
http://cs.unm.edu/~eschulte

reply via email to

[Prev in Thread] Current Thread [Next in Thread]