[med-svn] r2324 - trunk/community/talks/200808_debconf8

tille at alioth.debian.org tille at alioth.debian.org
Sat Jul 26 07:36:20 UTC 2008


Author: tille
Date: 2008-07-26 07:36:19 +0000 (Sat, 26 Jul 2008)
New Revision: 2324

Modified:
   trunk/community/talks/200808_debconf8/debian-med.tex
   trunk/community/talks/200808_debconf8/debian_med_stats
Log:
Use PDF graphic for better scaling of fonts; adapt colors to transparent background


Modified: trunk/community/talks/200808_debconf8/debian-med.tex
===================================================================
--- trunk/community/talks/200808_debconf8/debian-med.tex	2008-07-26 06:51:01 UTC (rev 2323)
+++ trunk/community/talks/200808_debconf8/debian-med.tex	2008-07-26 07:36:19 UTC (rev 2324)
@@ -56,7 +56,16 @@
 
 \end{frame}
 
+\begin{frame}
+  \frametitle{Groth}
 
+      \begin{center}
+        \resizebox{90mm}{!}{\includegraphics{dmstats}}
+      \end{center}
+
+\end{frame}
+
+
 \input cdd-end-en.tex
 
 \end{document}

Modified: trunk/community/talks/200808_debconf8/debian_med_stats
===================================================================
--- trunk/community/talks/200808_debconf8/debian_med_stats	2008-07-26 06:51:01 UTC (rev 2323)
+++ trunk/community/talks/200808_debconf8/debian_med_stats	2008-07-26 07:36:19 UTC (rev 2324)
@@ -6,16 +6,20 @@
 R --no-save <<EOT
 library(plotrix)
 dmstats <- read.table(file='debian_med_stats.dat', sep = '\t', fill=TRUE, header=TRUE )
-png("dmstats.png", width = 800, height = 600)
+# png("dmstats.png", width = 800, height = 600)
+textcolor="yellow"
+pdf("dmstats.pdf", fg=textcolor)
+par(col.axis=textcolor,col.main=textcolor)
 dmstats.mat <- as.matrix(dmstats)[,2:4]
 rownames(dmstats.mat) <- dmstats[['Year']]
 dmstats.mat <- t(dmstats.mat)
 
-# plot <- barplot(dmstats.mat,beside=TRUE,col=rainbow(3),legend.text=TRUE)
-plot <- barplot(dmstats.mat,beside=TRUE,col=rainbow(3),
-                # legend = colnames(dmstats[,2:4]),
-                main = "Number of dependencies of selected Debian Med metapackages"
-                )
-legend(x="topleft", colnames(dmstats[,2:4]),fill=rainbow(3), inset=0.05)
+# barplot(dmstats.mat,beside=TRUE,col=rainbow(3),legend.text=TRUE)
+barplot(dmstats.mat,beside=TRUE,col=rainbow(3),
+        # legend = colnames(dmstats[,2:4]),
+        main = "Number of dependencies of selected Debian Med metapackages"
+        )
+legend(x="topleft", colnames(dmstats[,2:4]),fill=rainbow(3), inset=0.05
+      )
 
 EOT




More information about the debian-med-commit mailing list