Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Color Palette


From   "Nick Winter" <nwinter@policystudies.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Color Palette
Date   Thu, 20 Feb 2003 12:59:35 -0500

> -----Original Message-----
> From: Vince Wiggins, StataCorp [mailto:vwiggins@stata.com] 
> Sent: Thursday, February 20, 2003 12:22 PM
> To: statalist@hsphsun2.harvard.edu
> Subject: Re: st: Color Palette
> 
> 
> Friedrich Huebler <huebler@rocketmail.com> asks about getting 
> a palette of
> all the named colors available in Stata graphics,
> 
> > The command -palette color- allows the comparison of two colors. It
> > would be useful to have a command that shows all available colors. I
> > envision a program that takes the colors returned by -graph query
> > colorstyle- and turns them into a checkerboard or similar pattern. I
> > don't know how to do this but perhaps someone could volunteer to
> > write such a program.
> 

I actually rolled up something like this a little while back.  I've sent
the program, called -full_palette- to the SSC archives.  It should be
available for download soon.

The program displays the full set of the default named colors, or a set
of named colors specified by the user, with the color, the names, and
the corresponding RGB triplets.

It will work with personal colors you have set up, along the lines of
the recent posting by Alan Riley.

Cheers,
Nick

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index