Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: AW: RE: Ytitle Construction
From
"Martin Weiss" <[email protected]>
To
<[email protected]>
Subject
st: AW: RE: Ytitle Construction
Date
Wed, 28 Apr 2010 15:58:37 +0200
<>
So you got lucky on this problem, as one can indeed solve it with -char()-:
*************
clear*
set obs 10000
gen arsconc=rnormal(10000,100)
hist arsconc, ytitle("Arsenic Concentration, `=char(181)' g/m`=char(179)'")
*************
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Nick Cox
Gesendet: Mittwoch, 28. April 2010 15:46
An: [email protected]
Betreff: st: RE: Ytitle Construction
In addition to Martin's advice, see
SJ-4-1 dm0006 . . . . Stata tip 6: Inserting awkward characters in the plot
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . N. J. Cox
Q1/04 SJ 4(1):95--96 (no commands)
tips for using the char() function with graphics
and -asciiplot- from SSC. The comma shouldn't be a problem unless you omit the "".
Nick
[email protected]
reg
I would appreciate finding out if I can do the following:
ytitle("Arsenic Concentration, ug/m3")
where u is actually the Greek letter mu and 3 is superscripted. The comma also appears to be a problem.
I've looked through volume G, and also Mitchell's "Visual Guide," and either this information is not there or (more likely) I've missed it.
*
* 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/