Statalist


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

Re: st: AW: lpattern() option doesn't work in -twoway bar-?


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: AW: lpattern() option doesn't work in -twoway bar-?
Date   Wed, 27 May 2009 15:10:46 +0000 (GMT)

--- On Wed, 27/5/09, Eva Poen wrote:
< example code >
> On my machine, only the legend for the white bars has a
> dashed  outline, not the actual bars on the graph itself.
> It's the same for  any other pattern.

--- On Wed, 27/5/09, Martin Weiss wrote:
> You can also get the opposite behaviour...
< example code >

To add to the list of problems of this kind (the outline is 
dashed, but not in the legend ) but now for -twoway rarea-:

*-------------- begin example -----------
drop _all
set obs 2
gen x = _n
gen y1 = 1
gen y2 = 2
gen x2 = _n + .5
gen y3 = 1.5
gen y4 = 2.5
twoway rarea y1 y2 x ||   ///
       rarea y3 y4 x2,    ///
       fcolor(none)       ///
       lpattern(longdash)
*------------- end example ---------------

-- Maarten

-----------------------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index