emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [babel] captions and figure size on export
@ 2010-03-07 22:53 Graham Smith
  2010-03-08  7:28 ` Graham Smith
  0 siblings, 1 reply; 6+ messages in thread
From: Graham Smith @ 2010-03-07 22:53 UTC (permalink / raw)
  To: emacs-orgmode

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]]

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

end of thread, other threads:[~2010-03-09 19:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-07 22:53 [babel] captions and figure size on export Graham Smith
2010-03-08  7:28 ` 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

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).