[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] manuscripts/Paper Makefile paper.tex
From: |
Janne V. Kujala |
Subject: |
[Gzz-commits] manuscripts/Paper Makefile paper.tex |
Date: |
Fri, 21 Mar 2003 06:37:51 -0500 |
CVSROOT: /cvsroot/gzz
Module name: manuscripts
Changes by: Janne V. Kujala <address@hidden> 03/03/21 06:37:51
Modified files:
Paper : Makefile paper.tex
Log message:
Zipf fig
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/manuscripts/Paper/Makefile.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/manuscripts/Paper/paper.tex.diff?tr1=1.46&tr2=1.47&r1=text&r2=text
Patches:
Index: manuscripts/Paper/Makefile
diff -u manuscripts/Paper/Makefile:1.5 manuscripts/Paper/Makefile:1.6
--- manuscripts/Paper/Makefile:1.5 Wed Mar 19 05:25:58 2003
+++ manuscripts/Paper/Makefile Fri Mar 21 06:37:51 2003
@@ -6,7 +6,7 @@
LATEXCMD=
endif
-all: pipe.1 perceptual-model.eps pipeline.eps buoyoing.1 buoyoing.5
+all: pipe.1 perceptual-model.eps pipeline.eps buoyoing.1 buoyoing.5 zipf.ps
latex "${LATEXCMD} paper"
BIBINPUTS=..:$$BIBINPUTS bibtex paper
latex "${LATEXCMD} paper"
@@ -47,3 +47,6 @@
for i in ../../../shots/multipaper.png
../../../shots/paperbasistex.png; do \
pngtopnm <$$i | pnmcrop | pnmtops -noturn -imagewidth 4 >
`basename $$i .png`.ps; \
donE
+
+zipf.ps: Makefile
+ perl -e '$$p=-1;$$n=100;for($$i=1;$$i<=$$n;$$i++){$$s0+=$$i**$$p;print
$$i," ",$$i**$$p,"\n"};print "\n";for($$i=1;$$i<=$$n;$$i++){$$s+=$$i**$$p;print
$$i," ",$$s/$$s0,"\n";}'|graph -Tps -S 5 -x 1 15 > zipf.ps
Index: manuscripts/Paper/paper.tex
diff -u manuscripts/Paper/paper.tex:1.46 manuscripts/Paper/paper.tex:1.47
--- manuscripts/Paper/paper.tex:1.46 Fri Mar 21 04:42:54 2003
+++ manuscripts/Paper/paper.tex Fri Mar 21 06:37:51 2003
@@ -1234,6 +1234,23 @@
(see, e.g. [xxxref]) so that a small number of documents accounts
for most of the use.
+\begin{figure}
+\centering
+%\fbox{\vbox{\vskip 3in}}
+\ifpics
+\includegraphics[width=6cm]{zipf}
+\fi
+\caption{
+\label{fig-zipf}
+Idealized representation of typical document usage pattern according
+to Zipf's law:
+the solid curve represents the access count as a function of rank
+for 100 documents (only the first 15 shown)
+and the dotted curve represents the cumulative proportion of accesses.
+The 15 most important documents account for most of the use.
+}
+\end{figure}
+
Furthermore, because the texture appearance has no correlation
with the document content,
the textures of any two important files are similar only by chance.