MathGroup Archive 2007

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

Search the Archive

Re: Compatibility woes

  • To: mathgroup at smc.vnet.net
  • Subject: [mg76099] Re: Compatibility woes
  • From: yusung at wolfram.com
  • Date: Wed, 16 May 2007 05:30:57 -0400 (EDT)
  • References: <f295kp$n4k$1@smc.vnet.net>

Dear Mark,

Old Graphics`Colors` are now available as a part of data paclets. Try:

ColorData["Legacy", "Images"]

to see all the previous colors. Simply typing:

ColorData["Legacy"][name], or
ColorData["Legacy", name]
will return appropriate colors.

To see the all the color list: ColorData["Legacy", "Range"].
Remember that this returns a list of a list.

The reason behind this new syntax is that this allows us to include
far greater range of "color sets" than previous package style
approach. For instance, you can access all acceptable named HTML
colors by:
ColorData["HTML"][name], or
ColorData["HTML", name]

Please refer ColorData documentation for further information. Also,
there is an interactive palette under "Palettes" menu, called
"ColorSchemes", which will display all the available colors.

As for <<Graphics`Colors`, it is safe to use as long as you use it
with an old notebook. The reason for the warning messages are that
LightXXXX colors are newly introduced in v6 as system symbols. So, the
package will override these symbols with its own color values. Except
that, there is no danger.

Besides, unlike many other paclets, ColorData does not have any online
component. It is shipped with the product and it is *not* necessary to
have Internet connection to use it.

Yu-Sung Chang
Kernel Technology
Wolfram Research, Inc.








  • Prev by Date: Re: weird behavior when plotting multiple functions in 6.0
  • Next by Date: Re: Residue Function
  • Previous by thread: Re: Re: Compatibility woes
  • Next by thread: Re: Re: Re: Compatibility woes