--- 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"; I think Dr. Brewer's research shows that color
selection in general, and her schemes in particular, are
generally useful for understanding. Then if you want to support such
a discrete scheme, you have to handle the cases when you haven't
defined colors. The question then is "do you leave that up to the
programmer" or "do you handle it in some reasonable way within the
programming system", and I'd argue for the latter in the way I described
above. 

I defer to you guys on what the interface should look like, but I'm a 
strong advocate of having an interface for discrete schemes.

JDO

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


_______________________________________________
PyX-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-devel

Reply via email to