[GRASS-SVN] r60103 - grass/trunk/scripts/d.rast.leg
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon May 5 02:45:45 PDT 2014
Author: hamish
Date: 2014-05-05 02:45:45 -0700 (Mon, 05 May 2014)
New Revision: 60103
Modified:
grass/trunk/scripts/d.rast.leg/d.rast.leg.py
Log:
update d.legend command line parameter
Modified: grass/trunk/scripts/d.rast.leg/d.rast.leg.py
===================================================================
--- grass/trunk/scripts/d.rast.leg/d.rast.leg.py 2014-05-05 09:43:33 UTC (rev 60102)
+++ grass/trunk/scripts/d.rast.leg/d.rast.leg.py 2014-05-05 09:45:45 UTC (rev 60103)
@@ -162,12 +162,14 @@
# lflags += 'n'
make_frame(f, 0, 90, 70, 100)
- grass.run_command('d.legend', flags = lflags, map = lmap, lines = nlines, at = leg_at)
+ grass.run_command('d.legend', flags = lflags, rast = lmap, lines = nlines, at = leg_at)
#draw map
make_frame(f, 0, 100, 0, 70)
grass.run_command('d.rast', map = map)
+
if __name__ == "__main__":
options, flags = grass.parser()
main()
+
More information about the grass-commit
mailing list