[GRASS5] [bug #4066] (grass) gis.m: black background
michael.barton at asu.edu
Tue Feb 7 13:26:04 EST 2006
I cannot reproduce this. Perhaps I don't understand the problem.
See comments below.
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402
voice: 480-965-6262; fax: 480-965-7671
> From: Moritz Lennert <mlennert at club.worldonline.be>
> Date: Tue, 07 Feb 2006 14:03:27 +0100
> To: Request Tracker <grass-bugs at intevation.de>
> Cc: <grass5 at grass.itc.it>
> Subject: Re: [GRASS5] [bug #4066] (grass) gis.m: black background
> Request Tracker wrote:
>> this bug's URL: http://intevation.de/rt/webrt?serial_num=4066
>> Subject: gis.m: black background
>> Platform: GNU/Linux/x86
>> grass obtained from: CVS
>> grass binary for platform: Compiled from Sources
>> GRASS Version: cvs_head_20060207
>> I can confirm the problem with the back blackground in gis.m which
> Maciek mentioned as a side note in another bug report
>> When I erase the map display the background becomes white, but as soon as I
>> display a map it becomes black again.
> Maybe this might help in identifying the problem:
> A setting in the gis manager resulting in the command does not show
> anything, i.e. not white boundaries on black background as it should.
> d.vect map=eurnuts3 color=255:255:255 lcolor=0:0:0 fcolor=none
> display=shape type=point,line,boundary,area icon=basic/x size=5 layer=1
> lsize=8 xref=left yref=center llayer=1
This only sets the line color to white. It has no effect on the background.
If you don't change the background (use 'd.erase black' as a command layer,
for example), you'll get white on white. The default background was changed
from black to white when we went from GRASS 5 to GRASS 6. So this is
As I said, however, you can change the background with d.erase
> d.vect map=eurnuts3 color=255:0:0 lcolor=0:0:0 fcolor=none display=shape
> type=point,line,boundary,area icon=basic/x size=5 layer=1 lsize=8
> xref=left yref=center llayer=1
> does show red boundaries on the black background...
On my system, this makes red lines on a white background.
Keep in mind a couple things.
1) I'm only doing this from the GIS Manager, not from the command line. d.*
commands will give unpredictable results (or won't work at all) from the
command line in the new GIS Manager because I'm no longer using x11
2) I'm working with a Mac binary from 21 January. It's possible that the
recent changes to the display drivers are causing the background to go to
black. Anyone want to hazard a guess on this??
More information about the grass-dev