What you are describing is inevitable with a string variable. How else
would Stata order string labels?
You just need to -encode- a string variable using pre-defined labels.
Then use the resulting numeric variable. See -help encode-.
Nick
On Wed, Jan 2, 2013 at 3:19 PM, Amadou DIALLO <stata.diallo@gmail.com> wrote:
> 1. Is there any way to label my x-axis in a non alphabetical order?
> Basically, I want to graph, putting "National" first, but Stata seems
> to be ranking the labels alphabetically.
> 1 "National" 2 "No Education" 3 "Primary" 4 "Secondary" 5 "Tertiary
> And Higher" 6 "Dk"
> DK is appearing first followed by National, etc.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/