swarm-support
[Top][All Lists]
Advanced

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

Value2dDisplay mapping


From: Rick Riolo
Subject: Value2dDisplay mapping
Date: Tue, 11 Jun 2002 16:56:42 -0400 (EDT)

Has anyone figured out how to have a Value2dDisplay mapping
act so that any value > 0 gives a color > the zero'th color?
As i understand it, now it take few ticks above zero value
to get to that first non-zero color, because of the transform

- setDisplayMappingM: (int)m C: (int)c
  Linear transform of states to colours for drawing. color = state / m + c 
  If not set, assume m == 1 and c == 0.

(Of course the scaling determines how much it has to go
above zero before it gets to that first nonzero color.)

I'd really like to know when cells go > 0 even a bit.

Thanks,
 - r

-- 
Rick Riolo                           address@hidden
Center for Study of Complex Systems (CSCS)
4477 Randall Lab                
University of Michigan         Ann Arbor MI 48109-1120
Phone: 734 763 3323                  Fax: 734 763 9267
http://www.pscs.umich.edu/PEOPLE/rlr-home.html


                  ==================================
   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]