From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Plotting with gnuplot Date: Wed, 22 Jul 2015 11:17:12 +0100 Message-ID: <87zj2oh4yf.fsf@ucl.ac.uk> References: <6ge28cxntv.ln2@news.c0t0d0s0.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHr5b-0008ED-94 for emacs-orgmode@gnu.org; Wed, 22 Jul 2015 06:17:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHr5X-0007ZN-8e for emacs-orgmode@gnu.org; Wed, 22 Jul 2015 06:17:27 -0400 Received: from mail-am1on0116.outbound.protection.outlook.com ([157.56.112.116]:48448 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHr5W-0007Vl-W4 for emacs-orgmode@gnu.org; Wed, 22 Jul 2015 06:17:23 -0400 In-Reply-To: <6ge28cxntv.ln2@news.c0t0d0s0.de> (Michael Welle's message of "Tue, 21 Jul 2015 20:09:42 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Welle Cc: emacs-orgmode@gnu.org 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