all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* full path to result image?
@ 2012-04-29 16:22 Khoroshyy Petro
  0 siblings, 0 replies; 2+ messages in thread
From: Khoroshyy Petro @ 2012-04-29 16:22 UTC (permalink / raw)
  To: emacs-orgmode

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

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

* Re: full path to result image?
@ 2012-04-29 17:06 Khoroshyy Petro
  0 siblings, 0 replies; 2+ messages in thread
From: Khoroshyy Petro @ 2012-04-29 17:06 UTC (permalink / raw)
  To: emacs-orgmode

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

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

end of thread, other threads:[~2012-04-29 17:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-29 16:22 full path to result image? Khoroshyy Petro
  -- strict thread matches above, loose matches on Subject: below --
2012-04-29 17:06 Khoroshyy Petro

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.