emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* export inline image from source results?
@ 2012-08-21 17:57 Petro
  2012-08-21 19:20 ` Eric Schulte
  0 siblings, 1 reply; 3+ messages in thread
From: Petro @ 2012-08-21 17:57 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-21 20:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-21 17:57 export inline image from source results? Petro
2012-08-21 19:20 ` Eric Schulte
2012-08-21 20:41   ` Petro

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).