I couldn't reproduce the basic problems here with
a concocted analogue using auto data. Perhaps
some combination of details in your example is
the issue, in which case StataCorp tech-support
would love that you sent them the _simplest_
combination of dataset and code that produces
these problems.
Nick
[email protected]
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Alexand
> Shepotilo
> Sent: 05 November 2004 18:52
> To: [email protected]
> Subject: st: note option in the twoway graph going nuts
>
>
> Dear statalist users,
>
> I want to place a long note at the bottom of the graph. As said in the
> help file, I wrote
>
> note ("First" "Second" "Third"
>
> Stata says "unmatched quote"
>
> If I try to fit the note in two lines
>
> note ("First" "Second")
>
> I get the following :
>
> First
> S
> e
> c
> o
> n
> d
>
>
> Finally, if I specify
>
> note ("First" "Second" , orientation (horizontally))
>
> Stata says ") required"
>
> I have wasted an hour tring to fix it but could not. If I do
> not include
> note everything works perfectly.
>
> Here is the actual graph:
>
> twoway (kdensity wtototal if wtototal<=15&wtototal>=0) (kdensity
> wtototal if a==1&wtototal<=15&wtototal>=0, bfcolor (yellow))
> (kdensity
> wtototal if a==10&wtototal<=15&wtototal>=0, bfcolor (red)),
> ytitle(Distribution of welfare gains, margin(small)) xtitle(Welfare
> gains as a percent of consumption from WTO accession, margin(small))
> xlabel(-1(3)15, labsize(small)) xmlabel(-1(1)15, ticks nolabels)
> xscale(range(0 15)) title(Figure 3. Distributions of the estimated
> welfare gains from Russian WTO accession, size(medsmall))
> subtitle("for
> the entire sample, the poorest decile, and the richest decile.", size
> (medsmall)) legend(order(1 "all households" 2 "the poorest decile" 3
> "the richest decile") size(small)) note ( "Observations in a
> range from
> 0% to 15% are shown. Deciles are constructed" "to be
> representative of
> ten percent of Russian population based on the weights of the
> Household
> Budget Survey", size(vsmall) )
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/