From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: HTML output of gnuplot pic Date: Sat, 14 Oct 2017 19:58:04 +0200 Message-ID: <87r2u51uj7.fsf@nicolasgoaziou.fr> References: <874lr13ae5.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3QhO-0007Tg-KC for emacs-orgmode@gnu.org; Sat, 14 Oct 2017 13:58:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3QhN-00055s-Su for emacs-orgmode@gnu.org; Sat, 14 Oct 2017 13:58:10 -0400 Received: from relay2-d.mail.gandi.net ([2001:4b98:c:538::194]:60237) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e3QhN-00055i-Ml for emacs-orgmode@gnu.org; Sat, 14 Oct 2017 13:58:09 -0400 In-Reply-To: (Lawrence Bottorff's message of "Sat, 14 Oct 2017 13:48:24 -0400") 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" To: Lawrence Bottorff Cc: emacs-orgmode Mailinglist Lawrence Bottorff writes: > I don't get the image displayed -- without manually taking out the > > #+RESULTS: line. I'm saying > > #+begin_src gnuplot :exports code :file images/test1.png > reset > set title "Putting it All Together" > set xlabel "X" > set xrange [-8:8] > set xtics -8,2,8 > set ylabel "Y" > set yrange [-2:70] > set ytics -20,10,70 > f(x) = x**2 > g(x) = x**3 > h(x) = 10*sqrt(abs(x)) > plot f(x) w lp lw 1, g(x) w p lw 2, h(x) w l lw 3 > #+end_src > > > #+RESULTS: > [[file:images/test1.png]] > > doesn't display the plot image, while. . . > > #+begin_src gnuplot :exports code :file images/test1.png > reset > set title "Putting it All Together" > set xlabel "X" > set xrange [-8:8] > set xtics -8,2,8 > set ylabel "Y" > set yrange [-2:70] > set ytics -20,10,70 > f(x) = x**2 > g(x) = x**3 > h(x) = 10*sqrt(abs(x)) > plot f(x) w lp lw 1, g(x) w p lw 2, h(x) w l lw 3 > #+end_src > > [[file:images/test1.png]] > > . . . does display the plot image: Try :exports both instead of :exports code then. Regards,