From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Iverson Subject: Re: org-babel and gnuplot Date: Tue, 07 Sep 2010 22:27:12 -0500 Message-ID: <4C870290.30701@ccbr.umn.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=49016 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OtBHn-00081d-KP for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 23:25:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OtBHl-0003Ke-SA for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 23:25:23 -0400 Received: from pegasus.biostat.wisc.edu ([144.92.73.35]:43005) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OtBHl-0003KF-KF for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 23:25:21 -0400 In-Reply-To: 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: Nick Parker Cc: emacs-orgmode@gnu.org On 09/07/2010 10:12 PM, Nick Parker wrote: > Hi John, > > I would actually like to plot different lines per distance, each > that correlate to a date and elapsed-time (x and y axis respectively). > I get an error with the :file notation, though I read that in a sample > babel gnuplot example for generating graphs of commit history on the > org-mode git repository. I tried to reference the variable data without > the quotes and $ sign without any success. I will continue to fiddle > with it, I am new to gnuplot. AFAIK, you can't break source code header argument lines across multiple lines. Is that how you actually have it in your org file? > #+begin_src gnuplot :var data=sessions > :file org-running.png :exports both > set title "Running Stats" > set auto x > set style data histogram > set style fill solid border -1 > set boxwidth .9 > set xlabel "Date" > set ylabel "Time" > plot "$data" using 1:2:3 notitle > #+end_src > > Nick Parker > www.developernotes.com > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode