[O] full path to result image?

2012-04-29 Thread Khoroshyy Petro
Hi all.
I try to incorporate a python generated image as result of python
block execution.
how can I use full path to the image
something like:

#+BEGIN_SRC python results: /home/petro/mydoc/estimated_spectra_cl.png
.
  plt.figure()
  plt.plot(spectra[:,0],spectra[:,1:])
  plt.grid(1)
  # plt.show()
  plt.savefig(/home/petro/mydoc/estimated_spectra_cl.png,dpi=100)
#+END_SRC




-- 
__
Petro Khoroshyy



Re: [O] full path to result image?

2012-04-29 Thread Khoroshyy Petro
I figured it out. Was not working because of my mistakes in header.
But now I get another problem.
Images are not converted during export to pdf or odt.
And if I enable inline images only small empty square appears.
What could be wrong with my setup
Thanks
__
Petro