Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Color around subtitle with -by- graphs


From   vwiggins@stata.com (Vince Wiggins, StataCorp)
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Color around subtitle with -by- graphs
Date   Thu, 20 Dec 2007 12:32:57 -0600

Friedrich Huebler <fhuebler@gmail.com> writes,

> When the s2mono scheme is used, the subtitles that identify the
> by-groups are surrounded by a line in the color bluishgray.
>
> . set scheme s2mono
> . graph bar mpg, by(foreign)
>
> The outline color can be changed to gs13 with the command below to
> match the fill color of the text box.
>
> . graph bar mpg, by(foreign) subtitle(,lcolor(gs13))
>
> I am using a modified version of the s2mono scheme. Can I add a line
> to my scheme that changes the outline color from bluishgray to gs13?
> When I looked through the s2mono and s2color schemes I could not
> identify the option that specifies the outline color.

Friedrich's eyes are evidently better than ours.  We didn't noticed this
little bluishgray outline when we developed the s2mono scheme.

I cannot imagine why anyone would want this bit of inadvertent color on a
grayscale scheme, so we will change the default color to match the fill color
of the subtitle box in a future ado update.

By the way, the bluishgray outline around by graph subtitles shows in all of
the official monochrome schemes.  They will all be changed.

In the meantime, Friedrich can add the following line to his custom scheme
file that he derived from s2mono.

   color bylabel_outline gs13

That will get rid of the little bluishgray outline.

 
-- Vince 
   vwiggins@stata.com
 
*
*   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–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index