Dear Eva,
Though I don't know the reason, this is not the only case when it happens.
E.g.:
sysuse auto, clear
twoway line l w, lw(0)
twoway line l w, lw(none)
both give you a visible line of the width ~1 pixel, rather than a
no-line as the help says:
============= QUOTE ==========================
linewidthstyle description
------------------------------------------------------------------------------------------
none line has zero width; it vanishes
============ END QUOTE ===========================
Perhaps it works on other platforms? (not Windows?)
Regards,
Sergiy Radyakin
On 7/30/08, Eva Poen <[email protected]> wrote:
> I just realised that this attempt will be futile anyway. -graph bar-
> with -(asis)- does not allow to label the bars with the label of
> -yvar- which is what I wanted in the end. I will have to fiddle with
> -twoway- to achieve what I want, I believe.
>
> I'm still curious why -bstyle(none)- does not do what it says, though.
>
> Eva
>
> 2008/7/30 Eva Poen <[email protected]>:
> > Dear all,
> >
> > I am trying to achieve invisible bars in a -graph bar- chart. The idea
> > is to show only the labels and not the bars themselves; all of this is
> > part of my effort to add more information to a -graph bar- chart than
> > Stata allows by default.
> >
> > However, I fail to render the bars invisible. After reading the help
> > on barlook options, I concluded that the following should work:
> >
> > sysuse auto
> > graph bar (mean) length turn, over(foreign) bar(1, bstyle(none) )
> >
> > In Stata 9.2 and Stata 10, this still gives me the outline of the
> > bars. No matter which combination of -bstyle-, -color-, -fcolor-,
> > -lwidth-, -lcolor-, and -lstyle- I choose, I always end up with an
> > outline around the bars.
> >
> > I find that confusing, since -help areastyle- notes for the style
> > -none-: "no outline and no background color".
> >
> > Is there some way to omit the bars and only print the labels?
> >
> > Thanks,
> > Eva
> > *
> > * 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/
> >
> *
> * 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/
>
*
* 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/