From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marvin Doyley Subject: org-babel pass data between blocks Date: Mon, 28 Apr 2014 08:41:39 -0400 Message-ID: <9F2375C3-005C-49EF-8E74-A3B2E5DB713B@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wekt7-0003AR-WB for emacs-orgmode@gnu.org; Mon, 28 Apr 2014 08:42:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Weksy-000442-0Q for emacs-orgmode@gnu.org; Mon, 28 Apr 2014 08:42:25 -0400 Received: from mail-qg0-x234.google.com ([2607:f8b0:400d:c04::234]:54384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Weksx-000433-RN for emacs-orgmode@gnu.org; Mon, 28 Apr 2014 08:42:15 -0400 Received: by mail-qg0-f52.google.com with SMTP id j5so6939747qga.11 for ; Mon, 28 Apr 2014 05:42:15 -0700 (PDT) Received: from dhcp-164-248.ee.rochester.edu ([128.151.164.248]) by mx.google.com with ESMTPSA id t5sm11552918qaj.34.2014.04.28.05.42.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Apr 2014 05:42:14 -0700 (PDT) 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.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Dear All, Is there way to pass data between blocks in org-babel. For example lets = say have two blocks #+begin_src python from pylab import * # Simple carrier t=3Dlinspace(0,1,100); fc=3D100; Ac =3D1; C=3DAc*cos(2*pi*t); #+end_src What I would like to do is to pass both C and t to another python block, = but it is not clear how to do this. #+begin_src python=20 from pylab import * fm=3D1; Am=3D1 m=3DAm*cos(2*pi*t); # message signal z=3Dm*C; #double side-band modulated signal #+end_src Thanks, M