On 23 sept. 2010, at 12:25, Mariano Martinez Peck wrote:



On Thu, Sep 23, 2010 at 11:07 AM, Simon Denier <Simon.Denier@inria.fr> wrote:

hi
 
- because the mapping color <-> range does not match your expectations (like red would be highest, blue would be lowest)

I guess because of this one. For example, take a look to the screenshot I attached. If I want to search the most instantiated classes, I should serach colors like Brown or Pink. But they are not easily shown....and of course, I have lot of colors...then I can to go with my "eye" looking carefully each package and looking for those colors.

This is why I thoguht that CodeCity would be cool, in the sense that for this case it would be easier since the property would represent the height of a building...and it is easier to notice heigh than a color.

I am trying now LinearDistributionMap and I think it can help :)
 

OK then you can set the mapping you want by sending #propertyColorMap: aDictionary to the distribution map. Easy to do.

You could also define your own ordering, but this would require a bit more work I think (LinearDistributionMap does that)

Finally, don't forget you can change 2D width/height before using the 3D :)
Of course, this requires testing a bit with different layouts then (MOMinimumGridLayout is interesting when shapes have different sizes, it tries to group shapes so that lost space is minimized)


--
 Simon