Path: utzoo!attcan!utgpu!watmath!att!bellcore!rutgers!ucsd!helios.ee.lbl.gov!epb2.lbl.gov!envbvs From: envbvs@epb2.lbl.gov (Brian V. Smith) Newsgroups: comp.windows.x Subject: Re: Colormaps (was ...and Visuals) Message-ID: <3853@helios.ee.lbl.gov> Date: 21 Sep 89 22:53:22 GMT References: <5385@ucdavis.ucdavis.edu> <8909211213.AA20836@expire.lcs.mit.edu> <8909210815.AA26154@Larry.McRCIM.McGill.EDU> Sender: usenet@helios.ee.lbl.gov Reply-To: envbvs@epb2.lbl.gov (Brian V. Smith) Organization: Lawrence Berkeley Laboratory Lines: 11 In article <5385@ucdavis.ucdavis.edu>, lee@iris.ucdavis.EDU (Peng Lee) writes: < XAllocColorPlanes will allocate a *contiguous* set of cells in a colormap. Sorry, XAllocColorPlanes will allocate contiguous PLANES, not cells. For example, if you allocates two planes, plane 2 and 3 (counting from 0), then you will get CELLS 0, 4, 8 and 12. Not quite contiguous. _____________________________________ Brian V. Smith (bvsmith@lbl.gov) Lawrence Berkeley Laboratory I don't speak for LBL, these non-opinions are all mine.