emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Emacs Org mode mailing list <emacs-orgmode@gnu.org>
Subject: passing output from a src block to a gnuplot src block
Date: Wed, 01 Apr 2020 17:18:07 +0100	[thread overview]
Message-ID: <87wo6zi3i8.fsf@ucl.ac.uk> (raw)

Hello all,

I'm trying to use the :post directive in a src block that generates some
data (two columns of numbers) to pass these data to a gnuplot src
block.  The latter would normally have a ":var data=sometable" header
specification and I would then simply "plot data using 1:2".  Behind the
scenes, it would seem that org babel for gnuplot creates a data file to
store the data from a table but this doesn't seem to happen with the
:post usage.

The question is how do I do the same without having to create an
intermediate table (as it's quite large and totally unnecessary other
than for transferring data from one block to another).

Has anybody here done anything similar?

Thank you.
: Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-438-g5b9698

                 reply	other threads:[~2020-04-01 16:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wo6zi3i8.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


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