From: Julien Cubizolles <j.cubizolles@free.fr>
To: Andreas Leha <andreas.leha@med.uni-goettingen.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Problems with LaTeX source block
Date: Tue, 16 Jul 2013 09:57:46 +0200 [thread overview]
Message-ID: <87oba3djid.fsf@free.fr> (raw)
In-Reply-To: <87wqos42vm.fsf@med.uni-goettingen.de> (Andreas Leha's message of "Mon, 15 Jul 2013 10:57:17 +0200")
Hi Andreas, I forgot to send the following remarks in my previous
post.
I encounter a problem with pgfplots. The following works, and produces a
png with a white background
#+NAME: python-tikz
#+header: :results raw :file py2tikz_sin.png
#+header: :imagemagick yes :fit yes :headers '("\\usepackage{tikz,pgfplots}")
#+BEGIN_SRC latex :exports results
\begin{tikzpicture}
\begin{axis}
\draw [green,->] (0,0) -- (2,2) -- (3,1);
\end{axis}
\end{tikzpicture}
#+END_SRC
However, the following produces a png with only the axis displayed (but
the boundaries are wrong), the data points don't appear. Strangely, the
png produced is transparent: the background is the one of the Emacs buffer.
#+NAME: python-tikz
#+header: :results raw :file py2tikz_sin.png
#+header: :imagemagick yes :fit yes :headers '("\\usepackage{tikz,pgfplots}")
#+BEGIN_SRC latex :exports results
\begin{tikzpicture}
\begin{axis}
\addplot [red,only lines] table {sin_py2csv.csv};
\end{axis}
\end{tikzpicture}
#+END_SRC
The temp latex file seems ok (pdflatex produces a correct picture). I
couldn't find the command line for imagemagick conversion to png to test
it though.
Julien.
next prev parent reply other threads:[~2013-07-16 7:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-15 8:34 Problems with LaTeX source block Julien Cubizolles
2013-07-15 8:57 ` Andreas Leha
2013-07-15 10:24 ` Julien Cubizolles
2013-07-15 21:06 ` Andreas Leha
2013-07-16 7:57 ` Julien Cubizolles [this message]
2013-07-16 8:03 ` Andreas Leha
2013-07-16 14:57 ` Julien Cubizolles
2013-07-16 11:09 ` Eric S Fraga
2013-07-16 15:04 ` Julien Cubizolles
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=87oba3djid.fsf@free.fr \
--to=j.cubizolles@free.fr \
--cc=andreas.leha@med.uni-goettingen.de \
--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.