From: Pierre Date: Wed, 12 Feb 2014 20:12:08 +0000 (+0100) Subject: correction of y label in zipf graphic X-Git-Url: http://iramuteq.org/git?a=commitdiff_plain;h=3563d5ffbef160a381af784d9d8cce2ce26e11d9;p=iramuteq correction of y label in zipf graphic --- diff --git a/textstat.py b/textstat.py index 54c8b4d..ee0e4ef 100644 --- 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)