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

RE: st: Escaping dollar sign in graphs


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Escaping dollar sign in graphs
Date   Mon, 14 Jun 2004 22:39:30 +0100

I think this misses the issue. You can 
get dollar signs; it's the awkwardness
of getting them which is being complained 
about, and understandably in my view -- 
and, perhaps, the associated issue that it 
needs some understanding 
of Stata's internals to know why that 
appears unavoidable. 



Nick 
n.j.cox@durham.ac.uk 

Clive Nicholas
 
> 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?

*
*   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