From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: org-bable and gnuplot Date: Thu, 1 Sep 2011 13:21:55 -0500 Message-ID: References: <87fwkgf7wb.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:40137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzBtm-0004II-I0 for emacs-orgmode@gnu.org; Thu, 01 Sep 2011 14:21:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QzBtl-0001OY-Lu for emacs-orgmode@gnu.org; Thu, 01 Sep 2011 14:21:58 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:58499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzBtl-0001OP-EM for emacs-orgmode@gnu.org; Thu, 01 Sep 2011 14:21:57 -0400 Received: by bkbzt4 with SMTP id zt4so2171677bkb.0 for ; Thu, 01 Sep 2011 11:21:55 -0700 (PDT) In-Reply-To: <87fwkgf7wb.fsf@gmail.com> 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: Eric Schulte Cc: Marvin Doyley , emacs-orgmode@gnu.org On Thu, Sep 1, 2011 at 1:13 PM, Eric Schulte wrote= : > > Marvin Doyley writes: > > > Hi there, > > > > I am planning to use gnuplot to plot some data that I have in org table= . > > Everything is set-up correctly and gnuplot is installed my mac. > > Unfortunately, when I run the following org file I get a zero byte file= -- > > everything seems to run ok, except nothing is written to the output fil= e. > > Does anybody know what I am doing wrong ? > > > > so if your gnuplot is like my gnuplot then "eps" is not a known terminal > type. =C2=A0I'd suggest trying the following. =C2=A0Also, notice that I c= hanged > your "plot" line -- histograms are not intuitive in gnuplot. > > > #+begin_src gnuplot :var data=3Dgnuplot-testing :file output.eps :exports= both > set term postscript > set title "test" > set auto x > set style data histogram > set style fill solid border -1 > set boxwidth 0.9 > plot data using 2:xtic(1) > #+end_src > Shameless plug: this and more is available at the orgmode gnuplot babel documentation on Worg. Check it out if you're interested. --- Top level: http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-g= nuplot.html --- This in particular (generating eps files): http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.html#sec= -7_2