emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] export inline image from source results?


From: Petro
Subject: [O] export inline image from source results?
Date: Tue, 21 Aug 2012 19:57:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]