[cig-commits] r14702 - cs/cigma/trunk/utils
luis at geodynamics.org
luis at geodynamics.org
Tue Apr 14 15:15:50 PDT 2009
Author: luis
Date: 2009-04-14 15:15:49 -0700 (Tue, 14 Apr 2009)
New Revision: 14702
Modified:
cs/cigma/trunk/utils/power-plot.py
Log:
Add axes labels to loglog plot
Modified: cs/cigma/trunk/utils/power-plot.py
===================================================================
--- cs/cigma/trunk/utils/power-plot.py 2009-04-14 22:10:43 UTC (rev 14701)
+++ cs/cigma/trunk/utils/power-plot.py 2009-04-14 22:15:49 UTC (rev 14702)
@@ -32,6 +32,8 @@
plot_fn(x, y, 'ro')
plot_fn(x, fp(v,x))
title(r"$\varepsilon\ =\ %f\ h^{%f}$" % (v[0],v[1]))
+ xlabel('$h$')
+ ylabel(r'$\varepsilon$', {'rotation': 'horizontal'})
show()
#savefig('power-fit.png')
More information about the CIG-COMMITS
mailing list