> I am graphing some data with -graph hbox-, but one variable
> insists on displaying commas in the graph (but not when
> -list-ed). The -format- seems to be ok. Here is what I do:
>
> ------------begin------
> . d yincrop
>
> storage display value
> variable name type format label variable label
> ---------------------------------------------------------------
> yincrop int %9.0g yincrop Year
>
>
> . graph hbox yincrop, over(idcrop, sort(1))
> ------------end------
Answering my own question... The only way I found to solve this not very
elegant:
. graph hbox yincrop, over(idcrop, sort(-1)) ylabel(1975 "1975" 1980 "1980"
1985 "1985" 1990 "1990" 1995 "1995" 2000 "2000")
That's a bit tedious (and I am lucky that the numlist is not much longer),
but the only solution that seems to work for -graph hbox-.
Greetings,
Daniel
*
* 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/