From: Khoroshyy Petro <khoroshyy@gmail.com>
To: emacs-orgmode@gnu.org
Subject: full path to result image?
Date: Sun, 29 Apr 2012 18:22:08 +0200 [thread overview]
Message-ID: <CAEoO5zpnF3amM7LiEZY7z6Vh018HqFv0SZyNuzR3=M20EJquTw@mail.gmail.com> (raw)
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
next reply other threads:[~2012-04-29 16:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-29 16:22 Khoroshyy Petro [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-04-29 17:06 full path to result image? Khoroshyy Petro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAEoO5zpnF3amM7LiEZY7z6Vh018HqFv0SZyNuzR3=M20EJquTw@mail.gmail.com' \
--to=khoroshyy@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.