[GRASS-dev] Re: updated d.histogram

Michael Barton michael.barton at asu.edu
Fri May 18 11:40:54 EDT 2007


Hmmm. I wonder why I don't get the stuff after the decimal point. I updated
yesterday afternoon Arizona time. I'm using a Mac if that makes any
difference.

Michael


On 5/18/07 2:01 AM, "Paul Kelly" <paul-grass at stjohnspoint.co.uk> wrote:

> Hello Michael
> 
> On Thu, 17 May 2007, Michael Barton wrote:
> 
>> I¹ve attached a small screenshot of d.histogram displaying in wxgrass with a
>> blue background and white foreground. It looks nice. I¹m using the slope
>> example that was problematic before. It is also better formatted. But I
>> thought that we¹d get some decimal places on the x axis?
> 
> Strange, it almost looks like the patch hasn't applied properly and only
> some of the bugs are fixed, i.e. like the big tick spacing isn't
> calculated correctly and the numbers are still being truncated to integers
> before printing. See attached for how it looks for me and an updated copy
> of the patch against the latest source, in case anybody else would like to
> try and verify their results (Note: PNG attachment hopefully results in
> much smaller file size than JPEG...).
> 
> The commandline I used was:
> GRASS 6.3.cvs (spearfish):C:\ >set GRASS_PNGFILE=c:\temp\histogram.png
> 
> GRASS 6.3.cvs (spearfish):C:\ >set GRASS_RENDER_IMMEDIATE=TRUE
> 
> GRASS 6.3.cvs (spearfish):C:\ >d.histogram slope color=white bgcolor=black
>   100%
> PNG: GRASS_TRUECOLOR status: FALSE
> PNG: collecting to file: c:\temp\histogram.png,
> GRASS_WIDTH=640, GRASS_HEIGHT=480
> 
> GRASS 6.3.cvs (spearfish):C:\ >
> 
> 
> 
> Paul

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton






More information about the grass-dev mailing list