Re: Compatibility woes
- To: mathgroup at smc.vnet.net
- Subject: [mg76182] Re: Compatibility woes
- From: yusung at wolfram.com
- Date: Thu, 17 May 2007 06:04:54 -0400 (EDT)
- References: <f295kp$n4k$1@smc.vnet.net><f2ejru$g9$1@smc.vnet.net>
Sorry about a mistake. ColorData[_, "Images"] should read ColorData[_, "Image"]. Also, ColorData[_, "Panel"] will bring an interactive tool, which will return RGB values directly by clicking swatches. Also, the color names should be given as a string. You can find more about the ColorData via our documentation: http://reference.wolfram.com/mathematica/ref/ColorData.html Yu-Sung Chang Kernel Technology Wolfram Research, Inc. On May 16, 4:45 am, yus... at wolfram.com wrote: > 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.