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 <[email protected]>
To   "[email protected]" <[email protected]>
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: [email protected] [[email protected]] On Behalf Of Ulrich Kohler [[email protected]]
Sent: Monday, September 07, 2009 11:25 AM
To: [email protected]
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: [email protected]
> [mailto:[email protected]] Im Auftrag von Jeetendra Aryal
> Gesendet: Montag, 7. September 2009 11:13
> An: [email protected]
> 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index