Hi, On 21.06.06, Joerg Lehmann wrote: > On 20.06.06, John Owens wrote: > > --- Joerg Lehmann <[EMAIL PROTECTED]> wrote: > > > > > > 1) The one you state above; I'd advocate possibly doing a gradient > > > > between the first and last color of the most detailed palette entry > > > > (so if a palette had discrete colors for 3-10 colors, use p[10][0] > > > > and p[10][9]). > > > > > > > > 2) What happens if you don't define enough colors? For instance > > > > most of the colorbrewer schemes only start defining at 3 colors > > > > (there's no 1 or 2 color schemes). In that case if I needed only 2 > > > > colors I'd want to take the first two elements of the least detailed > > > > palette entry. > > > > > > In some way your questions show that the concept becomes indeed a bit > > > shaky. > > > > Well, to be fair, with any discrete scheme this would come up. The > > first question is "is it useful to have a discrete scheme indexed by > > total number of colors and by color number?" No surprise that I think > > the answer is "yes"; > > When posting my initial scheme, this was also obvious to me. On the > other hand, it's not what a color palette usually means: an ordered > collection of a finite number of colors. But we could reconcile > these two pictures of a palette as described in my other mail, but > considering the trivial mapping > [[c11], [c21, c22], [c31, c32, c33], ...] -> > [c11, c21, c22, c31, c32, c33, ...]
I think this is a very bad idea. The color c11 and c21 should not be used together. They don't belong into the same palette. André -- by _ _ _ Dr. André Wobst / \ \ / ) [EMAIL PROTECTED], http://www.wobsta.de/ / _ \ \/\/ / PyX - High quality PostScript and PDF figures (_/ \_)_/\_/ with Python & TeX: visit http://pyx.sourceforge.net/ Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ PyX-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-devel
