Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Special symbols in xtitle/ytitle


From   "Sergiy R." <[email protected]>
To   [email protected]
Subject   Re: st: Special symbols in xtitle/ytitle
Date   Wed, 15 Aug 2007 13:25:15 -0400

Hello Raphael,

178 is the code for superscript 2
179 for superscript 3

sysuse auto
twoway scatter l w, ytitle("BMI kg/m`=char(178)'")

To see all the rest type:
*-----------------------------------------
forvalues i=33/255 {
  di `i' _col(8) "`=char(`i')'"
}
*----------------------------------------


Best regards, Sergiy

On 8/15/07, Raphael Fraser <[email protected]> wrote:
> I am using Stata 9.2 and would like to know if its possible to name my
> y-axis with the following title: BMI (kg/m^2). In other words, how do
> I get an "m supercript 2"?
>
> Regards,
> Raphael
> *
> *   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/
>
*
*   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/



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