Skip to content

Commit

Permalink
update d.legend command line parameter
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.osgeo.org/grass/grass/trunk@60103 15284696-431f-4ddb-bdfa-cd5b030d7da7
  • Loading branch information
HamishB committed May 5, 2014
1 parent d59532f commit 40b17aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/d.rast.leg/d.rast.leg.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,14 @@ def main():
# 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()

0 comments on commit 40b17aa

Please sign in to comment.