[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] [babel] changing size of R graphics in pdf output
From: |
Dan Davison |
Subject: |
Re: [Orgmode] [babel] changing size of R graphics in pdf output |
Date: |
Sat, 12 Dec 2009 20:45:17 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Hi Graham,
Graham Smith <address@hidden> writes:
> 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.
Hmm, this example is working for me. What about the axis annotation --
does that change size relative to the plot?
>
> 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.
That's what one would see if you increase the width and height arguments
to pdf(). I.e. the labels get smaller relative to the plot size (unless
you also scale the labels size by using cex.lab or whatever) Is it
possible that the pdf output *is* changing size, but that your pdf
viewer is rescaling the images to the same size on your screen?
Dan
>
> Am I missing some code somewhere that allows the graphs to be modified.
>
> Thanks,
>
> Graham
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- [Orgmode] [babel] changing size of R graphics in pdf output, Graham Smith, 2009/12/12
- Re: [Orgmode] [babel] changing size of R graphics in pdf output,
Dan Davison <=
- Re: [Orgmode] [babel] changing size of R graphics in pdf output, Graham Smith, 2009/12/13
- Re: [Orgmode] [babel] changing size of R graphics in pdf output, Graham Smith, 2009/12/13
- Re: [Orgmode] [babel] changing size of R graphics in pdf output, Graham Smith, 2009/12/13
- Re: [Orgmode] [babel] changing size of R graphics in pdf output, Graham Smith, 2009/12/13
- Re: [Orgmode] [babel] changing size of R graphics in pdf output, Graham Smith, 2009/12/13
- Re: [Orgmode] [babel] changing size of R graphics in pdf output, Dan Davison, 2009/12/15
- Re: [Orgmode] [babel] changing size of R graphics in pdf output, Graham Smith, 2009/12/15