projects
/
iramuteq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0e66bf
)
correction of y label in zipf graphic
author
Pierre
<ratinaud@univ-tlse2.fr>
Wed, 12 Feb 2014 20:12:08 +0000
(21:12 +0100)
committer
Pierre
<ratinaud@univ-tlse2.fr>
Wed, 12 Feb 2014 20:12:08 +0000
(21:12 +0100)
textstat.py
patch
|
blob
|
history
diff --git
a/textstat.py
b/textstat.py
index
54c8b4d
..
ee0e4ef
100644
(file)
--- a/
textstat.py
+++ b/
textstat.py
@@
-88,7
+88,7
@@
class Stat(AnalyseText) :
""" % self.pathout['hapax.csv']
txt += """
open_file_graph("%s", width = 400, height = 400)
- plot(
log(tot[,1]), log = 'x
', xlab='log(rangs)', ylab = 'log(frequences)', col = 'red', pch=16)
+ plot(
tot[,1], log = 'xy
', xlab='log(rangs)', ylab = 'log(frequences)', col = 'red', pch=16)
dev.off()
""" % (self.pathout['zipf.png'])
tmpscript = tempfile.mktemp(dir=self.parent.TEMPDIR)