[Dplr-commits] r775 - pkg/dplR/vignettes

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Apr 7 12:07:03 CEST 2014


Author: mvkorpel
Date: 2014-04-07 12:07:03 +0200 (Mon, 07 Apr 2014)
New Revision: 775

Modified:
   pkg/dplR/vignettes/intro-dplR.Rnw
Log:
Default figure width is now full \textwidth.  Also added \centering to
figures, which only matters if figure width is less than full
\textwidth.


Modified: pkg/dplR/vignettes/intro-dplR.Rnw
===================================================================
--- pkg/dplR/vignettes/intro-dplR.Rnw	2014-04-07 08:45:17 UTC (rev 774)
+++ pkg/dplR/vignettes/intro-dplR.Rnw	2014-04-07 10:07:03 UTC (rev 775)
@@ -13,6 +13,7 @@
 \begin{document}
 \bibliographystyle{jss}
 
+\setkeys{Gin}{width=1.0\textwidth} % figure width
 \SweaveOpts{concordance=TRUE}
 \SweaveOpts{strip.white=true}
 
@@ -84,6 +85,7 @@
 plot(ca533,plot.type=c('spag'))
 @
 \begin{figure}[htbp]
+\centering
 <<fig=true,echo=false>>=
 <<a>>
 @
@@ -163,6 +165,7 @@
                              method="Spline")
 @
 \begin{figure}[htbp]
+\centering
 <<fig=true,echo=false>>=
 <<a>>
 @
@@ -254,6 +257,7 @@
 chron.plot(ca533.crn,add.spline=TRUE,nyrs=20)
 @
 \begin{figure}
+\centering
 <<fig=true,echo=false>>=
 <<a>>
 @
@@ -312,6 +316,7 @@
 par(def.par)
 @
 \begin{figure}
+\centering
 <<fig=true,echo=false>>=
 <<a>>
 @



More information about the Dplr-commits mailing list