swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EZBin


From: Zafar Iqbal
Subject: Re: EZBin
Date: Sat, 19 Sep 1998 11:49:42 +0100 (BST)

On Fri, 18 Sep 1998 13:33:01 -0500 "Sven N. Thommesen" 
<address@hidden> wrote:

> d) Have you put a line in your observer swarm (ExperSwarm)'s -buildActions
> for displayActions to make the EZBin update itself?

Yes, I showed those in my last e-mail. As far as I know 
this part seems to work fine.
they are as follows:

  [displayActions createActionTo: distGraph           message: M(reset)];
  [displayActions createActionTo: distGraph           message: M(update)];
  [displayActions createActionTo: distGraph           message: M(output)];

 
> e) There IS a bug in EZBin when it calculates the sizes of the bins -- as
> you can see, in Graph2 the first division is 22.857 which is 160/7 (max
> distance = 160, number of bins = 6). It divides by (numBins+1). I have
> supplied a patch for this to Marcus, who will include it in the upcoming
> 1.3.1.

Is this why the bars seem to be out of alignment from the 
bins in the x-axis?


> Also: with an 80x80 world, upperBound should be sqrt(80^2 + 80^2) ~ 112,
> rather than 80+80=160, given the way distance is calculated.

I'm aware of this. I hadn't realised setting it too large 
would upset EZBin !!! 


My main problem is the colour of the bars!!!
It occurs to me the bars on my graphs may be white (same as 
the background colour) and so appear invisible.
Looking at the source for EZBin I don't see a setColor 
method. If this is the reason why the bars are 'invisible', 
is there a way round this i.e. to set the colour some other 
way ? 

Zafar



                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

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