MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: Colors chosen for ListPlot, etc., in v. 6

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88991] Re: [mg88974] Re: Colors chosen for ListPlot, etc., in v. 6
  • From: Curtis Osterhoudt <cfo at lanl.gov>
  • Date: Fri, 23 May 2008 03:06:48 -0400 (EDT)
  • Organization: LANL
  • References: <g11r37$aak$1@smc.vnet.net> <200805221016.GAA27312@smc.vnet.net>
  • Reply-to: cfo at lanl.gov

Hello, Antti,

   Thank you for your input! The built-in definition for ColorData[1] happe=
ns
to be

ColorDataFunction[1, "Indexed", {1, Infinity, 1},
 (ToColor[Hue[N[FractionalPart[0.67 + (2*(#1 - 1))/GoldenRatio]], 0.6,
      0.6], RGBColor] & )[Floor[#1 - 1, 1] + 1] & ]

  I guess I should have just investigated that earlier. Now I know how.

              Thanks again,
                            C.O.



On Thursday 22 May 2008 04:16:14 Antti Penttil=C3=A4 at smc.vnet.net wrote:
> Curtis Osterhoudt wrote:
> > Hi, all,
> >
> >    I was curious about the colors used automatically for multiple lists
> > in graphics such as ListPlot.
>
> I cannot shed more light but only to say that the automatic colors seem
> to be the same as in the indexed color palette 1 - see "ColorData[1]"
>
> Antti



=2D-
==========================
==========================
========
Curtis Osterhoudt
cfo at remove_this.lanl.and_this.gov
PGP Key ID: 0x4DCA2A10
Please avoid sending me Word or PowerPoint attachments
See http://www.gnu.org/philosophy/no-word-attachments.html
==========================
==========================
========


  • Prev by Date: Please Help with Sums with the same StandardForm but different InputForm
  • Next by Date: "Reduce" wierdness (or too slow?)
  • Previous by thread: Re: Colors chosen for ListPlot, etc., in v. 6
  • Next by thread: enter key on new Mac MBP