st: RE: Re: Lorenz curve graph options: can't get legend to work

>Date: Wed, 26 Apr 2006 17:52:02 +0100
>From: "Nick Cox" <n.j.cox@durham.ac.uk>
>Subject: st: RE: Re: Lorenz curve graph options: can't get
>legend to work
>
>Philippe underestimates his own program!
>
>One of the small problems here is that -glcurve-
>internally uses -legend(order())-, but to
>overwrite that you just need to use the
>same. At the same time you can label
>the extra diagonal and fix the line patterns.
Well spotted Nick!
I'm not sure now why it was coded this way in -glcurve-, but I read in
-help twoway_legend- that
"You may also specify quoted text after # to override the descriptive
text associated with a symbol. (...) It is considered better style,
however, to use the label() suboption to relabel symbols."
So -label()- would have been a more proper way to proceed. One lesson
is that, when both order() and label() are used at the same time, the
former takes precedence.
Thanks for pointing out the solution.
Philippe
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept
**********************************************************************
*
* 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/