From mboxrd@z Thu Jan 1 00:00:00 1970 From: Graham Smith Subject: [babel] changing size of R graphics in pdf output Date: Sat, 12 Dec 2009 22:40:39 +0000 Message-ID: <2c75873c0912121440w1452f36fjdb41a01cef811354@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 1NJads-0003k9-9V for emacs-orgmode@gnu.org; Sat, 12 Dec 2009 17:40:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NJadn-0003ir-Cd for emacs-orgmode@gnu.org; Sat, 12 Dec 2009 17:40:47 -0500 Received: from [199.232.76.173] (port=42058 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NJadn-0003io-9x for emacs-orgmode@gnu.org; Sat, 12 Dec 2009 17:40:43 -0500 Received: from mail-fx0-f213.google.com ([209.85.220.213]:62739) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NJadm-0001p0-Fv for emacs-orgmode@gnu.org; Sat, 12 Dec 2009 17:40:43 -0500 Received: by fxm5 with SMTP id 5so2141193fxm.8 for ; Sat, 12 Dec 2009 14:40:39 -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 don't seem able to change the size of graphics in the PDF output. #+begin_src R :file z.pdf :width 20 :height 20 :R-dev-args bg="olivedrab", fg="hotpink" plot(matrix(rnorm(100), ncol=2), type="l") #+end_src Using this example from an earlier post, regardless of how I change the width and height settings the image in the PDF stays the same. With this next example: #+srcname:Boxplots Summary #+begin_src R :session BirdData :file BoxplotSummary.pdf :exports both boxplot(Wingcrd,Tarsus,Head,Wt,names=c("Wingcrd","Tarsus","Head","Wt")) #+end_src If I add height and width arguments the image stays the same size regardless of settings, but the labels for the boxplots become tiny. Am I missing some code somewhere that allows the graphs to be modified. Thanks, Graham