Complete.Org: Mailing Lists: Archives: freeciv: December 2001:
[Freeciv] Re: Graphs from civscore.log
Home

[Freeciv] Re: Graphs from civscore.log

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Reinier Post <rp@xxxxxxxxxx>
Cc: Freeciv users <freeciv@xxxxxxxxxxx>
Subject: [Freeciv] Re: Graphs from civscore.log
From: Justin Hawkins <justin@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 28 Dec 2001 07:36:04 +1030 (CST)

On Thu, 27 Dec 2001, Reinier Post wrote:

> > I'm interested in what people think. FYI, it requires perl and gnuplot.
> > This was born out of a desire not to get my hands dirty with making java
> > work to make CivLog work :-)
>
> I've said this before, and promised to follow up on it, and never did, but:
> your graphs look very similar to the ones at
>
>   http://civserver.freeciv.org/
>
> (pick any game) and I bet the code looks very similar, too.

Don't claim that the code might look similar until you see how I code :-)

My code is available on the web page now.
http://hawkins.dropbear.id.au/static/log2graph. Yes I found the
civserver.freeciv.org stuff post-fact. Oh well I guess there is still a
soon-to-disappear niche for it, as mine can be used by Joe Schmoe on his
own server, but the civserver code isn't yet availbale ;-)

> Does your code work with 32 players?  (I hit gnuplot's color limit
> before that and wrote a postprocessor to fix it.)

Yes I've noticed the color thing. The graphs look pretty tragic after
about 8 or so players anyway, at least on a web-sized graph.

The biggest 'problem' with mine is that I use the year as the X axis. This
'squashes' the graph up against the right hand side somewhat (as the years
do not progress linearly). But some people might think that was the right
thing to do anyway.

        - Justin

-- 
justin@xxxxxxxxxxxxxxxxxxxxxx  |    "Don't sweat it --
http://hawkins.dropbear.id.au  |  it's only 1's and 0's"



[Prev in Thread] Current Thread [Next in Thread]