Statalist


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

Re: st: AW: how to plot two lowss graphs in one figure


From   Ulrich Kohler <kohler@wzb.eu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: AW: how to plot two lowss graphs in one figure
Date   Mon, 07 Sep 2009 11:25:44 +0200

Here is yet another possiblity: 

***************************************
sysuse auto, clear
tw ///
  || scatter mpg weight if ! foreign ///
  || scatter mpg weight if foreign   ///
  || lowess mpg weight if !foreign   ///
  || lowess mpg weight if foreign

***************************************

Uli


Am Montag, den 07.09.2009, 11:15 +0200 schrieb Martin Weiss:
> <> 
> 
> 
> 
> *************
> sysuse auto, clear
> tw lowess  mpg weight , by(foreign)
> *************
> 
> 
> 
> HTH
> Martin
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Jeetendra Aryal
> Gesendet: Montag, 7. September 2009 11:13
> An: statalist@hsphsun2.harvard.edu
> Betreff: st: how to plot two lowss graphs in one figure
> 
> Dear statalist,
> I am running the nonparametric regressions as follows:
> .lowess productivity farmsize if caste==1
> .lowess productivity farmsize if caste==0
>  
> It provides me two separate graphs. I want to have them in one graph.
> Any suggestions are welcome.
>  
> regards,
> Jeetendra Aryal
> *
> *   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index