From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: [org-plot] multiple graphs on a plot Date: Wed, 03 Feb 2010 08:14:39 +0000 Message-ID: <87k4uu20sw.wl%ucecesf@ucl.ac.uk> 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 1NcaNq-00011s-14 for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 03:14:46 -0500 Received: from [140.186.70.92] (port=41611 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcaNn-0000yL-CA for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 03:14:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NcaNm-0004jJ-B5 for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 03:14:43 -0500 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:61938) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NcaNl-0004jC-UU for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 03:14:42 -0500 Received: from pinto.chemeng.ucl.ac.uk ([128.40.74.171] helo=pinto.chemeng.ucl.ac.uk.ucl.ac.uk) by vscane-b.ucl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.60) (envelope-from ) id 1NcaNj-0005Ch-N5 for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 08:14:39 +0000 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: org-mode mailing list Back in September, zwz asked about getting multiple graphs on a plot from a table: http://lists.gnu.org/archive/html/emacs-orgmode/2009-09/msg00354.html There appears to be no answer to that question. I have the same need and I was wondering if anybody has an answer to this. Basically, given a table that looks like this: | x | y1 | x | y2 | | 1 | 2 | 1.5 | 3 | | ... | | | | I want to plot y1 versus x as one line on a plot and y2 versus x as another line on the same plot. In gnuplot, this is straightforward: plot ... using 1:2, '' using 3:4 but org-plot currently assumes :ind to have just one entry. I have started to look at the code in org-plot to see how to generalise ind to be a vector of columns but would rather avoid the work if somebody else has already done this (and because although my elisp skills are improving daily due to org-mode, they are still rather rudimentary ;-). Thanks, eric