[GRASS-user] Problems while running d.out.file
antonio.rocha at deimos.com.pt
Mon Nov 28 13:33:13 EST 2011
Sorry to get back to this question again but I was not able to solve this.
1- I have plotted my raster
2- I have added a command layer with this d.barscale bcolor=none at=0,90
3- If I use the "Save display to graphic file" functionality it works
just fine. But If i try to set a smaller Width and Height:
a) if I place barscale at 0,90 it gets cut
b) If I place barscale at 0,0 it does not get cut but barscale gets
over the image
Is there any other suggestion on resizing PNG output without loosing
image and barscale?
Another question: when I launch a new Map Display window: Is it possible
to define its size?
> Moritz wrote:
>> I can confirm the issue (António, have you posted
>> a bug report ?). The problem is not that the
>> scalebar "disappears", but that its location is not
>> adapted to the changed resolution: see the
>> http://geog-pc40.ulb.ac.be/grass/export_png/ for a
>> series of examples.
> I'm not sure I fully understand the problem, but
> d.out.file has always worked well for me.
> the effect of making the width and height of the
> image is the same as dragging the xmonitor window
> bigger- the barscale and text is still the same size
> when viewed at 100% scale. when shrunk to fit on
> the screen in an image viewer it becomes tiny.
> You can make text and line widths bigger to
> compensate but really if you want things to scale
> well e.g. for a hi-res poster image, you should
> probably be using ps.map, not screen dumps of the
> Xmonitors, as the d.* modules were designed for.
> barscale and legend are placed as a percentage of
> the display frame, so at least their relative
> position should stay intact even if the frame gets
> if y'all think there's a bug please file a detailed
> ticket with the steps to reproduce using one of
> the standard datasets, and I'll look into it.
> __________ Information from ESET NOD32 Antivirus, version of virus signature database 6639 (20111117) __________
> The message was checked by ESET NOD32 Antivirus.
__________ Information from ESET NOD32 Antivirus, version of virus signature database 6666 (20111128) __________
The message was checked by ESET NOD32 Antivirus.
More information about the grass-user