From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: org-plot figure - writing to a file Date: Fri, 24 Oct 2008 17:00:04 -0700 Message-ID: <87wsfxlf23.fsf@gmail.com> References: <407c66ac0810241250r4c7e5416h8cdc80ba132ad78e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtWZd-00055Q-5D for emacs-orgmode@gnu.org; Fri, 24 Oct 2008 20:00:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtWZb-000556-NB for emacs-orgmode@gnu.org; Fri, 24 Oct 2008 20:00:08 -0400 Received: from [199.232.76.173] (port=35613 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtWZb-000553-KS for emacs-orgmode@gnu.org; Fri, 24 Oct 2008 20:00:07 -0400 Received: from wf-out-1314.google.com ([209.85.200.174]:4329) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KtWZb-0006a2-63 for emacs-orgmode@gnu.org; Fri, 24 Oct 2008 20:00:07 -0400 Received: by wf-out-1314.google.com with SMTP id 28so1098582wfc.24 for ; Fri, 24 Oct 2008 17:00:04 -0700 (PDT) In-Reply-To: <407c66ac0810241250r4c7e5416h8cdc80ba132ad78e@mail.gmail.com> (JBash's message of "Fri, 24 Oct 2008 15:50:50 -0400") 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: JBash Cc: emacs-orgmode@gnu.org JBash writes: > Hi, > > Can I get org-plot to write the plot to a file? I've tried: > > #+PLOT: set:"term eps" > #+PLOT: file:"plot1.eps" > > and similar things for png files, but I end up with an empty file, named plot1.eps (or plot1.png) in the > current directory. > the following works for me... #+PLOT: file:"plot1.png" #+PLOT: title:"first plot" #+PLOT: ind:1 with:points | Frequency | Amplitude | Phase | Delta | Peak | |-----------+-----------+-------+-------+------| | 0.9 | 9 | 6 | 5 | 198 | | 1.0 | 10 | 9 | 7 | 212 | | 1.1 | 11 | 8 | 3 | 144 | | 9.9 | 19 | 12 | 9 | 235 | | 10.0 | 18 | 7 | 12 | 222 | | 10.1 | 22 | 14 | 4 | 187 | | 19.9 | 14 | 11 | 6 | 220 | | 20.0 | 20 | 15 | 14 | 213 | | 20.1 | 18 | 16 | 11 | 201 | When you use the file option you don't need to set the term, org-plot will do that for you. When I tried the same with a .eps file I also received an empty image file, not sure what the issue is there... Thanks -- Eric