[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Plotting with gnuplot
From: |
Thomas S . Dye |
Subject: |
Re: [O] Plotting with gnuplot |
Date: |
Tue, 21 Jul 2015 15:02:05 -1000 |
Aloha Michael,
Does the :session header argument help?
All the best,
Tom
Michael Welle <address@hidden> 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
- Re: [O] Plotting with gnuplot,
Thomas S . Dye <=