From: Graham Smith <myotisone@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [babel] captions and figure size on export
Date: Sun, 7 Mar 2010 22:53:37 +0000 [thread overview]
Message-ID: <2c75873c1003071453w78b2d8c9wd1e7fb97432e462e@mail.gmail.com> (raw)
I have the following code beside each other in an orgmode/babel file
creating two boxplots.
When exported the first boxplot remains the default size and has no
caption or figure number, while the second is 10cm across, and has a
caption and figuer number(Fig1).
Could someone have a look at my code and see where my error is. They
look identical to me.
Thanks,
Graham
#+srcname:BoxplotFlowering
#+begin_src R :session daf :file FloweringBoxplot.pdf :exports both
boxplot(daf$Flower~daf$YEAR)
#+end_src
#+CAPTION: Boxplot comparing number of flowering daffodils between
2005 and 2006
#+LABEL: fig:BoxplotFlowering
#+ATTR_LaTeX: width=10cm
#+results: BoxplotFlowering
[[file:FloweringBoxplot.pdf]]
#+srcname:BoxplotNonFlowering
#+begin_src R :session daf :file NonFloweringBoxplot.pdf :exports both
boxplot(daf$No.Flower~daf$YEAR)
#+end_src
#+CAPTION: Boxplot comparing number of non flowering daffodils
between 2005 and 2006
#+LABEL: fig:BoxplotNonFlowering
#+ATTR_LaTeX: width=10cm
#+results: BoxplotNonFlowering
[[file:NonFloweringBoxplot.pdf]]
next reply other threads:[~2010-03-07 22:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-07 22:53 Graham Smith [this message]
2010-03-08 7:28 ` [babel] captions and figure size on export Graham Smith
2010-03-08 9:10 ` Graham Smith
2010-03-08 10:14 ` Graham Smith
2010-03-09 14:32 ` Dan Davison
2010-03-09 19:29 ` Graham Smith
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=2c75873c1003071453w78b2d8c9wd1e7fb97432e462e@mail.gmail.com \
--to=myotisone@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.