From mboxrd@z Thu Jan 1 00:00:00 1970 From: Graham Smith Subject: [babel] captions and figure size on export Date: Sun, 7 Mar 2010 22:53:37 +0000 Message-ID: <2c75873c1003071453w78b2d8c9wd1e7fb97432e462e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NoPLw-0008DE-F8 for emacs-orgmode@gnu.org; Sun, 07 Mar 2010 17:53:40 -0500 Received: from [140.186.70.92] (port=58848 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoPLv-0008D4-MR for emacs-orgmode@gnu.org; Sun, 07 Mar 2010 17:53:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NoPLv-0002kC-0k for emacs-orgmode@gnu.org; Sun, 07 Mar 2010 17:53:39 -0500 Received: from mail-ww0-f41.google.com ([74.125.82.41]:50231) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoPLu-0002ju-IR for emacs-orgmode@gnu.org; Sun, 07 Mar 2010 17:53:38 -0500 Received: by wwg30 with SMTP id 30so2303428wwg.0 for ; Sun, 07 Mar 2010 14:53:37 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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]]