emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: Marvin Doyley <marvinpas@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: org-bable and gnuplot
Date: Thu, 1 Sep 2011 13:21:55 -0500	[thread overview]
Message-ID: <CA+M2ft_vUwvx98EEgd=etZZyXAMPVMaV+Ac-DDxm422tCRe6FQ@mail.gmail.com> (raw)
In-Reply-To: <87fwkgf7wb.fsf@gmail.com>

On Thu, Sep 1, 2011 at 1:13 PM, Eric Schulte <schulte.eric@gmail.com> wrote:
>
> Marvin Doyley <marvinpas@gmail.com> 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 file.
> > Does anybody know what I am doing wrong ?
> >

<snip>

>
> so if your gnuplot is like my gnuplot then "eps" is not a known terminal
> type.  I'd suggest trying the following.  Also, notice that I changed
> your "plot" line -- histograms are not intuitive in gnuplot.
>

<snip>

>
> #+begin_src gnuplot :var data=gnuplot-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-gnuplot.html
--- This in particular (generating eps files):
http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.html#sec-7_2

  reply	other threads:[~2011-09-01 18:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-01 16:59 org-bable and gnuplot Marvin Doyley
2011-09-01 18:13 ` Eric Schulte
2011-09-01 18:21   ` John Hendy [this message]
2011-09-01 20:20     ` Marvin Doyley

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='CA+M2ft_vUwvx98EEgd=etZZyXAMPVMaV+Ac-DDxm422tCRe6FQ@mail.gmail.com' \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=marvinpas@gmail.com \
    --cc=schulte.eric@gmail.com \
    /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).