Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: distinct xline patterns


From   "Dimitriy V. Masterov" <[email protected]>
To   [email protected]
Subject   Re: st: distinct xline patterns
Date   Fri, 16 Mar 2012 11:44:26 -0400

Try separate xlines, like this:

tw (scatter price mpg) (lfit price mpg, xline(20) xline(30, lpattern(dash))

DVN

On Fri, Mar 16, 2012 at 11:39 AM, Ivica Rubil <[email protected]> wrote:
> Dear all,
>
> I have the following graphical problem. I drew three distributions on
> one graph, and then I added vertical lines at the corresponding means.
> Here's the code:
>
> twoway (line f01 _n01, sort) || (line f04 _n04, sort) || (line f08 _n08,
> sort), xline(78.00 103.83 126.86)
>
> However, when I change the pattern of ONE of these vertical lines from
> solid to dash (or anything else), they ALL change. What I want is that
> each of them be of a pattern different from others. How to do that?
>
> Thanks.
>
> ir
>
> --
> Ivica Rubil
> Ekonomski institut || The Institute of Economics, Zagreb
> Trg J. F. Kennedyja 7, 10 000 Zagreb, Croatia
> tel. +385-1-2362-269 || fax. +385-1-2335-165
> [email protected] || www.eizg.hr
>
>
>
> *
> *   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index