Damian M wrote:

> Thank you for your reply.
> 
> I am using the PNG monitor as follows:
> 
> --------------------------------------------------
> 
>     os.environ['GRASS_WIDTH'] = '2000'
>     os.environ['GRASS_HEIGHT'] = '1600'
>     os.environ["GRASS_TRUECOLOR"] = "TRUE"
> 
>     os.putenv('GRASS_PNGFILE', outFileName+".png") 
>     grass.run_command("d.mon", start="PNG")

In which case, it ought to work. d.barscale explicitly reads the
bounds of the current frame when calculating the coordinates.

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to