[Pomp-commits] r491 - pkg/inst/doc

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri May 20 14:25:37 CEST 2011


Author: kingaa
Date: 2011-05-20 14:25:37 +0200 (Fri, 20 May 2011)
New Revision: 491

Modified:
   pkg/inst/doc/Makefile
   pkg/inst/doc/intro_to_pomp.Rnw
   pkg/inst/doc/intro_to_pomp.pdf
Log:

- plot probe figure as jpeg to reduce size of PDF


Modified: pkg/inst/doc/Makefile
===================================================================
--- pkg/inst/doc/Makefile	2011-05-20 12:19:27 UTC (rev 490)
+++ pkg/inst/doc/Makefile	2011-05-20 12:25:37 UTC (rev 491)
@@ -19,4 +19,4 @@
 	$(EPSTOPDF) $*.eps --outfile=$*.pdf
 
 clean:
-	$(RM) *.tex *.log *.aux *.blg *.bbl *.out *.Rout *.toc *.lof *.lot intro_to_pomp-*.pdf advanced_topics_in_pomp-*.pdf Rplots.ps Rplots.pdf
+	$(RM) *.tex *.log *.aux *.blg *.bbl *.out *.Rout *.toc *.lof *.lot *.jpg intro_to_pomp-*.pdf advanced_topics_in_pomp-*.pdf Rplots.ps Rplots.pdf

Modified: pkg/inst/doc/intro_to_pomp.Rnw
===================================================================
--- pkg/inst/doc/intro_to_pomp.Rnw	2011-05-20 12:19:27 UTC (rev 490)
+++ pkg/inst/doc/intro_to_pomp.Rnw	2011-05-20 12:25:37 UTC (rev 491)
@@ -911,7 +911,7 @@
 It is this synthetic likelihood that \pkg{pomp} attempts to maximize in probe matching.
 
 \begin{figure}
-<<ricker-probe-plot,echo=F,fig=T>>=
+<<ricker-probe-plot,echo=F,fig=F>>=
   pb <- probe(ricker,
               probes=list(
                 probe.marginal("y",ref=obs(ricker),transform=sqrt),
@@ -921,8 +921,14 @@
               nsim=1000,
               seed=1066L
               )
+  jpeg(
+       filename="ricker-probe-plot.jpg",
+       width=6,height=6,units='in',quality=75,res=300
+       )
   plot(pb)
+  dev.off()
 @ 
+\includegraphics[width=5in]{ricker-probe-plot}
 \caption{
   Results of \code{plot} on a \code{probed.pomp}-class object.
   Above the diagonal, the pairwise scatterplots show the values of the probes on each of \Sexpr{summary(pb)$nsim} data sets.

Modified: pkg/inst/doc/intro_to_pomp.pdf
===================================================================
(Binary files differ)



More information about the pomp-commits mailing list