[Blends-commit] r1940 - projects/med/trunk/papers/10_osehc_valencia

Debian Pure Blends Subversion Commit noreply at alioth.debian.org
Sat Oct 24 18:29:07 UTC 2009


Author: tille
Date: Sat Oct 24 18:29:06 2009
New Revision: 1940
URL: http://svn.debian.org/viewsvn/blends?rev=1940&view=rev

Log:
Preparation of paper for OSEHC 2010 in Valencia


Added:
   projects/med/trunk/papers/10_osehc_valencia/
      - copied from r1936, /projects/med/trunk/papers/09_osehc_porto/
   projects/med/trunk/papers/10_osehc_valencia/debian_med_stats   (contents, props changed)
   projects/med/trunk/papers/10_osehc_valencia/debian_med_stats.dat
Removed:
   projects/med/trunk/papers/10_osehc_valencia/dmstats.pdf
   projects/med/trunk/papers/10_osehc_valencia/earthkeyring.png
   projects/med/trunk/papers/10_osehc_valencia/paper-text_longversion.tex
Modified:
   projects/med/trunk/papers/10_osehc_valencia/Makefile

Modified: projects/med/trunk/papers/10_osehc_valencia/Makefile
URL: http://svn.debian.org/viewsvn/blends/projects/med/trunk/papers/10_osehc_valencia/Makefile?rev=1940&view=diff&r1=1940&r2=1936&p1=projects/med/trunk/papers/10_osehc_valencia/Makefile&p2=/projects/med/trunk/papers/09_osehc_porto/Makefile
==============================================================================
--- /projects/med/trunk/papers/09_osehc_porto/Makefile	(original)
+++ projects/med/trunk/papers/10_osehc_valencia/Makefile	Sat Oct 24 18:29:06 2009
@@ -50,7 +50,7 @@
 	##mv $(text).tex $(text).tex_used4html
 	mv $(text).tex.save $(text).tex
 
-bbl: $(text).bib
+bbl: $(text).bib dmstats.pdf
 	pdflatex $(text).tex
 	bibtex debian-med-bio
 
@@ -63,15 +63,19 @@
 	latex $(text).tex
 	latex $(text).tex
 
+dmstats.pdf: debian_med_stats.dat
+	debian_med_stats
+
 pdf: $(text).pdf
-$(text).pdf: $(text).tex paper-text.tex $(text).bib
+
+$(text).pdf: $(text).tex paper-text.tex $(text).bib dmstats.pdf
 	make clean
 	pdflatex $(text).tex
 	bibtex $(text)
 	pdflatex $(text).tex
 	pdflatex $(text).tex
 
-pdfllncs: $(text)-llncs.pdf
+pdfllncs: $(text)-llncs.pdf dmstats.pdf
 $(text)-llncs.pdf: $(text)-llncs.tex paper-text.tex
 	make clean
 	pdflatex $(text)-llncs.tex
@@ -88,11 +92,11 @@
 distclean: clean
 	rm -f $(text)*.html $(text).pdf $(text)-dvips.pdf $(text)-llncs.pdf
 	rm -rf $(DISTDIR) debian-med-bio
+	rm -f dmstats.pdf
 
 clean:
 	rm -f $(text)*.log $(text)*.aux $(text)*.dvi $(text)*.toc $(text)*.out $(text)*.bbl $(text)*.blg
 	rm -f *.log
-	rm -f earthkeyring.eps
 
 dist:
 	mkdir -p $(DISTDIR)/paper

Added: projects/med/trunk/papers/10_osehc_valencia/debian_med_stats
==============================================================================
--- (empty file)
+++ projects/med/trunk/papers/10_osehc_valencia/debian_med_stats	Sat Oct 24 18:29:06 2009
@@ -0,0 +1,36 @@
+#!/bin/sh
+# This script draws a barplot to visualise the dependant packages of
+# med-bio, med-imaging and med-practice over the years.  The data
+# are in debian_med_stats.dat
+
+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)
+# textcolor="yellow" # for the dark background
+textcolor="black"
+pdf("dmstats.pdf", fg=textcolor, width=9, height=7)
+par(col.axis=textcolor,col.main=textcolor)
+dmstats.mat <- as.matrix(dmstats)[,2:4]
+rownames(dmstats.mat) <- dmstats[['Year']]
+dmstats.mat <- t(dmstats.mat)
+
+# Larger font
+fontsize$default<-20
+fontsize$points<-20
+fontsize$text<-24
+
+# mycolors=rainbow(3)
+mycolors=c("red", "green", "darkorange")           
+par(ont.axis=2, font.lab=2)
+
+# barplot(dmstats.mat,beside=TRUE,col=mycolors,legend.text=TRUE)
+barplot(dmstats.mat,beside=TRUE,col=mycolors,
+        # legend = colnames(dmstats[,2:4]),
+        main = "Number of dependencies of selected Debian Med metapackages"
+        )
+legend(x="topleft", colnames(dmstats[,2:4]),fill=mycolors, inset=0.05,
+       text.col=textcolor
+      )
+
+EOT

Added: projects/med/trunk/papers/10_osehc_valencia/debian_med_stats.dat
==============================================================================
--- (empty file)
+++ projects/med/trunk/papers/10_osehc_valencia/debian_med_stats.dat	Sat Oct 24 18:29:06 2009
@@ -0,0 +1,9 @@
+Year	Microbiology	Imaging	Practice
+2002	4	2	0
+2003	12	3	0
+2004	20	6	0
+2005	35	8	1
+2006	45	12	1
+2007	53	17	1
+2008	73	19	2
+2009	82	24	4



More information about the Blends-commit mailing list