emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [babel] changing size of R graphics in pdf output
@ 2009-12-12 22:40 Graham Smith
  2009-12-13  1:45 ` Dan Davison
  0 siblings, 1 reply; 9+ messages in thread
From: Graham Smith @ 2009-12-12 22:40 UTC (permalink / raw)
  To: emacs-orgmode

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

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

end of thread, other threads:[~2009-12-15 19:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-12 22:40 [babel] changing size of R graphics in pdf output Graham Smith
2009-12-13  1:45 ` 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

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).