[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: A common legend with "gr combine"
I am using "gr combine" to present 6 experiments, each created by
"hbar.."displaying a comparison between boys and girls. I prefer not to
include a legend in each of the graphs and instead have one common
legend at the bottom of "gr combine".
I don't think it can be done with -graph combine-. It takes each graph as is, including individual legends.
You might construct the graph differently, using the -by()- option. That would require a long data structure with variables like:
xvar yvar sex experiment.
. sysuse auto
. graph hbar weight , over(foreign) asyvars by(rep78)
Hoping that this is useful,
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6
DK-8000 Aarhus C, Denmark
Phone, work: +45 8942 6090
Phone, home: +45 8693 7796
Fax: +45 8613 1580
* For searches and help try: