[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: legend sample size
If for some reason you are determined not
to use macros (NB to me the phrase "macro
variables" has no clear Stata meaning),
then I would have thought that your only
alternative was to type them in by hand.
sts graph, by(sex) legend(order(1 "females (1776)" 2 "males (1812)"))
E. Michael Foster
> I'm producing graphs of hazards using -sts graph- with a
> -by- variable.
> I'd like the legend to show the sample size for each group.
> Anyway to do this without storing the sample sizes in macro
> and then passing them to -sts graph- in a legend option?
* For searches and help try: