Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: graph line, line(...)


From   Keith Dear <keithdear4@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: graph line, line(...)
Date   Tue, 25 Oct 2011 20:40:57 +1100

Well it NEARLY works -- I see some lines. They stand out far more with
pale colours -- I find these two plots indistinguishable, and both
have lines to my eyes:

*----------- begin example --------------
sysuse auto
graph pie price, over(rep78) by(foreign) intensity(*.1) name(A)
graph pie price, over(rep78) by(foreign) intensity(*.1) name(B)
line(lcolor(none))
*---------- end example ----------------

(.1 is probably ridiculously pale, but just to make the point. I quite like .5)
I think the default is for no lines in principle, but somehow the
graphics isn't (aren't?) perfect.
Keith


On 25 October 2011 17:51, Maarten Buis <maartenlbuis@gmail.com> wrote:
> On Tue, Oct 25, 2011 at 5:35 AM, Keith Dear wrote:
>> How can I remove the slice outlines from a pie-chart?
>
> This worked for me:
>
> *----------- begin example --------------
> sysuse auto
> graph pie price , over(rep78) ///
>          by(foreign) line(lcolor(none))
> *---------- end example ----------------
> (For more on examples I sent to the Statalist see:
> http://www.maartenbuis.nl/example_faq )
>
> Hope this helps,
> Maarten
>
> --------------------------
> Maarten L. Buis
> Institut fuer Soziologie
> Universitaet Tuebingen
> Wilhelmstrasse 36
> 72074 Tuebingen
> Germany
>
>
> http://www.maartenbuis.nl
> --------------------------
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>



-- 
Dr Keith Dear
National Centre for Epidemiology and Population Health
ANU College of Medicine, Biology and Environment
Australian National University
Canberra, ACT 0200 Australia
Phone +61 (02) 6273 2208

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index