On Monday, November 26, 2012 14:10:31 Eric Firing wrote: > But how many colors can you actually distinguish on the screen, or in a > plot? My impression is that the problem is not lack of colors, but > rather mapping to the color you want. There is no reason that having a > value in your *data* of 1e10 has to affect how numbers in your data over > a "normal" range are mapped. > > You are trying to illustrate the problem with an example using 3 colors, > so how can the number of colors in the colormap be the fundamental > limitation?
Ok, I understand. I think that my linear interpolation code has to somewhat be written in a norm instead. At some time, I have looked at examples on Matplotlib website, and at the code of pyshared/matplotlib/colors.py, but without having the "flash" to write the norm. The next time I will try to write a norm instead (I will put the code here of course). TP ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users