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 on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: distinct xline patterns


From   "Dimitriy V. Masterov" <dvmaster@gmail.com>
To   statalist@hsphsun2.harvard.edu
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 <irubil@eizg.hr> 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
> irubil@eizg.hr || 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index