[Date Index] [Thread Index] [Author Index]
Re: Compatibility woes
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.