From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petro Subject: export inline image from source results? Date: Tue, 21 Aug 2012 19:57:10 +0200 Message-ID: <87k3wsruvd.fsf@cica.cica> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3shl-0007rS-1Q for emacs-orgmode@gnu.org; Tue, 21 Aug 2012 13:57:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3she-0001bb-ER for emacs-orgmode@gnu.org; Tue, 21 Aug 2012 13:57:28 -0400 Received: from plane.gmane.org ([80.91.229.3]:45485) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3she-0001bO-7I for emacs-orgmode@gnu.org; Tue, 21 Aug 2012 13:57:22 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T3shc-0002cE-6c for emacs-orgmode@gnu.org; Tue, 21 Aug 2012 19:57:20 +0200 Received: from 0x4dd745cf.adsl.cybercity.dk ([77.215.69.207]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Aug 2012 19:57:20 +0200 Received: from x.piter by 0x4dd745cf.adsl.cybercity.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Aug 2012 19:57:20 +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: emacs-orgmode@gnu.org Hi all. I generate an image from python source like this: _____________________________________________________ #+BEGIN_SRC python :results output raw :export results from pylab import figure, plot import pylab as plt import numpy as np plt.ioff() figure() plot(np.random.rand(10),'o') pic_name='fit_rates1.svg' path_name='/home/petro/tmp/' plt.savefig(path_name + pic_name) print "[" + "[" + path_name + pic_name +"]]" #+END_SRC #+RESULTS: [[/home/petro/tmp/fit_rates1.svg]] _____________________________________________________ Can I export the result? Rigth now the image is exported only if I copy the image link and paste it few lines below. Thanks. Petro