Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Escaping dollar sign in graphs


From   "Clive Nicholas" <Clive.Nicholas@newcastle.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Escaping dollar sign in graphs
Date   Mon, 14 Jun 2004 22:32:12 +0100 (BST)

Partick Joly wrote:

> This problem came up on the list a few weeks but I would like to ask Stata
> whether something can be done about this issue. Specifically, the problem
> is
> that, given a have variable whose label contains a dollar sign say
>
> . la var xrus "\$US per \$CA"
>
> and trying to plot it as either
>
> . twoway line xrus year
> . twoway line xrus year, ytitle("\$US per \$CA")
>
> causes the currency units to vanish from the y-axis title, leaving only "
> per " behind.

You might not like this solution, but how about using "USD" instead of the
$ symbol in the meantime?

CLIVE NICHOLAS        |t: 0(044)191 222 5969
Politics              |e: clive.nicholas@ncl.ac.uk
Newcastle University  |http://www.ncl.ac.uk/geps
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index