[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [org-plot] multiple graphs on a plot

From: Eric S Fraga
Subject: [Orgmode] [org-plot] multiple graphs on a plot
Date: Wed, 03 Feb 2010 08:14:39 +0000
User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Goj┼Ź) APEL/10.7 Emacs/23.1 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

Back in September, zwz asked about getting multiple graphs on a plot
from a table:


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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]