From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [org-plot] multiple graphs on a plot Date: Thu, 04 Feb 2010 13:59:17 +0000 Message-ID: <878wb9ksp6.wl%ucecesf@ucl.ac.uk> References: <87k4uu20sw.wl%ucecesf@ucl.ac.uk> <87y6ja9qan.fsf@gmail.com> Reply-To: Eric S Fraga Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nd2F2-0000H4-7D for emacs-orgmode@gnu.org; Thu, 04 Feb 2010 08:59:32 -0500 Received: from [199.232.76.173] (port=50007 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nd2F1-0000Ge-BW for emacs-orgmode@gnu.org; Thu, 04 Feb 2010 08:59:31 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nd2Ev-0003jz-FB for emacs-orgmode@gnu.org; Thu, 04 Feb 2010 08:59:29 -0500 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:35419) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Nd2Et-0003iy-BZ for emacs-orgmode@gnu.org; Thu, 04 Feb 2010 08:59:24 -0500 In-Reply-To: <87y6ja9qan.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: org-mode mailing list At Wed, 03 Feb 2010 10:34:24 -0700, Eric Schulte wrote: > > Hi Eric, > > I don't believe anyone has yet extended org-plot to support multiple > independent variable columns. Since stating work on Org-babel [1], I > know use gnuplot source-code blocks for all of my plotting needs, as > they provide a more direct interface into gnuplot. For example the > following should provide the functionality your are looking for... > > #+tblname: my-table > | 1 | 2 | 1.5 | 3 | > | 2 | 4 | 3 | 9 | > | ... | | | | > > #+begin_src gnuplot :var data=my-table > plot data using 1:2, data using 3:4 > #+end_src Eric (& Tom as well), This works like a charm! I should have guessed that org-babel would be able to come to the rescue :-) Many thanks. Being able to embed such arbitrary programming languages etc is changing my whole workflow even more than org-mode itself did. A typical org file of mine these days seems always to include latex, shell commands and maxima code, and I can now add gnuplot to this set. Interestingly, 15 years on, org-mode &co. are accomplishing what the CMU folk wanted to do with their Andrew project, specifically their =ez= editor. It used to be that I hated leaving emacs to do anything; now it's getting to the point that I hate even leaving org-mode! I wonder if I can embed wanderlust within org-mode... ;-) Thanks again, eric