emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] org-plot figure - writing to a file


From: Eric Schulte
Subject: Re: [Orgmode] org-plot figure - writing to a file
Date: Fri, 24 Oct 2008 17:00:04 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

JBash <address@hidden> 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




reply via email to

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