From: Graham Smith <myotisone@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [babel] changing size of R graphics in pdf output
Date: Sat, 12 Dec 2009 22:40:39 +0000 [thread overview]
Message-ID: <2c75873c0912121440w1452f36fjdb41a01cef811354@mail.gmail.com> (raw)
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
next reply other threads:[~2009-12-12 22:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-12 22:40 Graham Smith [this message]
2009-12-13 1:45 ` [babel] changing size of R graphics in pdf output Dan Davison
2009-12-13 7:37 ` Graham Smith
2009-12-13 8:23 ` Graham Smith
2009-12-13 13:12 ` Graham Smith
2009-12-13 13:39 ` Graham Smith
2009-12-13 14:23 ` Graham Smith
2009-12-15 19:14 ` Dan Davison
2009-12-15 19:51 ` 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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2c75873c0912121440w1452f36fjdb41a01cef811354@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 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).