|
From: Uri L. <las...@mi...> - 2011-01-16 22:41:31
|
Hi all, Does there already exist some python implementation (in MPL or other) of an easy-to-use 1D scale transformation? This is something analogous to processing's map function or protovis's scale functionality. It would work something like: s = linear().domain(5,100).range(13000,15000) or s = root(p=5).domain(0.1,0.6).range(0,1) There could be multiple versions, including linear, log, symlog, root (power), discrete, etc. Thanks! Uri ................................................................................... Uri Laserson Graduate Student, Biomedical Engineering Harvard-MIT Division of Health Sciences and Technology M +1 917 742 8019 las...@mi... |