Actually, I think that the (faulty?) behavior Alex wants to demonstrate is this one:
|l| l := MONColorLinearNormalizer inContext: (10 to: 15) lowColor: Color white highColor: Color blue. view shape rectangle size: 20; fillColor: [ :n | l moValue: n ]. view nodes: (10 to: 15)
On 7 janv. 2011, at 15:24, Johan Fabry wrote:
In my naive view this behavior looks OK. First example shows the last 5 colors in the progression, second example shows the first 5. I dont know how the color normalizer is expected to be used though ...
On 07 Jan 2011, at 11:11, Alexandre Bergel wrote:
Hi!
I executed the following scripts:
<Screen shot 2011-01-07 at 11.09.42.png><Screen shot 2011-01-07 at 11.09.57.png>
I would actually expect the same node colors. Apparently, the colors given by the normalizer are focused on 0. Is this what you would expect?
Cheers, Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Johan Fabry jfabry@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon Denier