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   Jeetendra Aryal <jeetendra.aryal@umb.no>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: AW: how to plot two lowss graphs in one figure
Date   Mon, 7 Sep 2009 11:39:49 +0200

Dear Martin and Ulrich,
Thank you for your quick reponse.
It helped me a lot. Now I am able to do it.

warm regards,
Jeetendra Aryal

________________________________________
From: owner-statalist@hsphsun2.harvard.edu [owner-statalist@hsphsun2.harvard.edu] On Behalf Of Ulrich Kohler [kohler@wzb.eu]
Sent: Monday, September 07, 2009 11:25 AM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: AW: how to plot two lowss graphs in one figure

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/
*
*   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