[GRASS-user] How to define the png image dimensions when using d.mon?

Martin Landa landa.martin at gmail.com
Sun Mar 27 01:25:30 PDT 2016


Hi,

2016-03-26 18:52 GMT+01:00 Glynn Clements <glynn at gclements.plus.com>:
>
> Martin Landa wrote:
>
>> > d.mon is designed for interactive use. If you're writing a script,
>> > don't use it. Set GRASS_RENDER_IMMEDIATE=png (or =cairo) and use the
>> > environment variables.
>>
>> not really, beside wx monitors, you can use cairo or png (useful for
>> scripting). Martin
>
> You appear to be misunderstanding what "interactive" means in this
> context. It doesn't necessarily imply a GUI.

I was just responding to your sentence "If you're writing a script,
don't use it."

> The only situation where a script should be using d.mon is if it
> really is a "script", in the sense of a canned sequence of commands
> which is meant to be "replayed" as part of an interactive workflow.

Right. Ma


More information about the grass-user mailing list