emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Michael Welle <mwe012008@gmx.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Plotting with gnuplot
Date: Wed, 22 Jul 2015 11:17:12 +0100	[thread overview]
Message-ID: <87zj2oh4yf.fsf@ucl.ac.uk> (raw)
In-Reply-To: <6ge28cxntv.ln2@news.c0t0d0s0.de> (Michael Welle's message of "Tue, 21 Jul 2015 20:09:42 +0200")

On Tuesday, 21 Jul 2015 at 20:09, Michael Welle wrote:
> Hello,
>
> I have several sections in my org files that plot data with gnuplot. The
> structure usually looks like that:

[...]

> The problem is that the gnuplot scripts are evaluated in the same
> gnuplot instance.

The solution is to reset all the settings:

#+begin_src gnuplot :var data=foo :file img/foo.png
reset
set terminal png
set xlabel foo
...
plot data using 1:2 with boxes title ''
#+end_src

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-1293-g985420

      parent reply	other threads:[~2015-07-22 10:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <6ge28cxntv.ln2@news.c0t0d0s0.de>
2015-07-22  1:02 ` Plotting with gnuplot Thomas S. Dye
     [not found]   ` <58n38cx51a.ln2@news.c0t0d0s0.de>
2015-07-22 15:36     ` Thomas S. Dye
     [not found]       ` <67f68cxgrc.ln2@news.c0t0d0s0.de>
2015-07-23 17:29         ` Thomas S. Dye
2015-07-29  9:50         ` Ian Barton
2015-07-22 10:17 ` Eric S Fraga [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=87zj2oh4yf.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=mwe012008@gmx.net \
    /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).