From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: passing output from a src block to a gnuplot src block Date: Wed, 01 Apr 2020 17:18:07 +0100 Message-ID: <87wo6zi3i8.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59916) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJg4D-0002pX-Mg for emacs-orgmode@gnu.org; Wed, 01 Apr 2020 12:18:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJg4C-0002n0-JH for emacs-orgmode@gnu.org; Wed, 01 Apr 2020 12:18:13 -0400 Received: from mail-am6eur05on2138.outbound.protection.outlook.com ([40.107.22.138]:61122 helo=EUR05-AM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jJg4C-0002mQ-A5 for emacs-orgmode@gnu.org; Wed, 01 Apr 2020 12:18:12 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: Emacs Org mode mailing list 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