emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas S. Dye <tsd@tsdye.com>
To: Michael Welle <mwe012008@gmx.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Plotting with gnuplot
Date: Tue, 21 Jul 2015 15:02:05 -1000	[thread overview]
Message-ID: <m2twsx6m42.fsf@tsdye.com> (raw)
In-Reply-To: <6ge28cxntv.ln2@news.c0t0d0s0.de>

Aloha Michael,

Does the :session header argument help?

All the best,
Tom

Michael Welle <mwe012008@gmx.net> writes:

> Hello,
>
> I have several sections in my org files that plot data with gnuplot. The
> structure usually looks like that:
>
> #+tblname: foo
> |         d        |   y  |
> |------------------+------|
> | [2015-01-03 Sat] | 2014 |
> | [2013-12-31 Tue] | 2013 |
> #+begin_src gnuplot :var data=foo :file img/foo.png
> set terminal png
> set xlabel foo
> ...
> plot data using 1:2 with boxes title ''
> #+end_src
>
>
> The problem is that the gnuplot scripts are evaluated in the same
> gnuplot instance. If I set, for instance, xlabel in one gnuplot script
> it is still set in the next script. That is quite annoying. I tried to
> end the scripts with a quit statement, but that results in a 'current
> buffer has no process' error. A reset statement at the beginning of the
> script makes the situation better, but isn't a solution. Any ideas?
>
> Regards
> hmw

-- 
Thomas S. Dye
http://www.tsdye.com

       reply	other threads:[~2015-07-22  1:02 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 ` Thomas S. Dye [this message]
     [not found]   ` <58n38cx51a.ln2@news.c0t0d0s0.de>
2015-07-22 15:36     ` Plotting with gnuplot 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

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=m2twsx6m42.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --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).