[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [babel] how to pass data to gnuplot from another block
From: |
Eric S Fraga |
Subject: |
Re: [O] [babel] how to pass data to gnuplot from another block |
Date: |
Thu, 5 Dec 2013 07:35:38 +0000 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
Eric Schulte <address@hidden> writes:
> Hi Eric,
>
> The attached works fine for me (using sh since I don't have octave).
Dear Eric,
thanks for your quick reply and sorry for taking so long to get back to
you. I ended up going to Chile for a week the day after sending my
original email and had very little Internet access (and, actually, no
time even if I had had proper connectivity). Back now!
[...]
> Ensure that the data you're passing into gnuplot is a table and not a
> string. Gnuplot blocks handle tables by writing them to a file, and
> then replacing the variable with the file name. As I recall gnuplot
> blocks assume string data already is a file name, so the variable is
> replaced directly.
Ah ha, this is a subtle one! The output looks the same in either case,
as Nick D. also notes. By changing the results generated to value and
not output and adding an expression at the end of my octave code to
generate the value required got things working.
The subtlety makes this a rather frustrating experience, however. Is
there any way to convince babel to treat a string output as an org table
so that subsequent chaining works in this case as well?
Thanks again,
eric
--
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org
release_8.2.2-181-gf31eb4.dirty
- Re: [O] [babel] how to pass data to gnuplot from another block,
Eric S Fraga <=