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

From |
"Martin Weiss" <martin.weiss1@gmx.de> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: Re: macro and twoway graph |

Date |
Thu, 25 Jun 2009 18:48:53 +0200 |

You got carried away with all those quotes... *** clear* set obs 500 gen r=_n gen t=runiform() egen q=mean(t) local r="(line t r, sort)" local y="(line q r,sort)" local m "`y' `r'" di "`m'" tw `m' *** HTH Martin _______________

To: <statalist@hsphsun2.harvard.edu> Sent: Thursday, June 25, 2009 5:55 PM Subject: st: macro and twoway graph

Dear listers, For some reason I cannot respond to responses to my posting yesterday. Bare with me if the responses appear later. I´ve rephrased the problem that I cannot come to grips with. set obs 500 gen r=_n gen t=runiform() egen q=mean(t) tw (line t r, sort) (line q r,sort)-->works fine local r="(line t r, sort)" local y="(line q r,sort)" . di "`y'" (line q r,sort) . di "`r'" (line t r, sort) . local m "`y' " "`r'" . di "`m'" (line q r,sort) (line t r, sort) . tw "`m'" line ( is not a twoway plot type r(198); What is the correct positioning of the " ´ and `in this problem??? Moleps * * 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/

**References**:**st: macro and twoway graph***From:*moleps islon <moleps2@gmail.com>

- Prev by Date:
**st: RE: matching percentiles technique** - Next by Date:
**Re: st: macro and twoway graph** - Previous by thread:
**st: macro and twoway graph** - Next by thread:
**Re: st: macro and twoway graph** - Index(es):

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