From: "Eric Schulte" <schulte.eric@gmail.com>
To: JBash <bashveank@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-plot figure - writing to a file
Date: Fri, 24 Oct 2008 17:00:04 -0700 [thread overview]
Message-ID: <87wsfxlf23.fsf@gmail.com> (raw)
In-Reply-To: <407c66ac0810241250r4c7e5416h8cdc80ba132ad78e@mail.gmail.com> (JBash's message of "Fri, 24 Oct 2008 15:50:50 -0400")
JBash <bashveank@gmail.com> 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
prev parent reply other threads:[~2008-10-25 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-24 19:50 org-plot figure - writing to a file JBash
2008-10-25 0:00 ` Eric Schulte [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wsfxlf23.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=bashveank@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).