Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: -graph hbox- with common legend for box plots

From   Daniel Müller <>
To   "Statalist" <>
Subject   st: -graph hbox- with common legend for box plots
Date   Mon, 10 Feb 2003 20:47:56 +0100

In Stata 8, I would like to produce a graph similar to the one on p.158 in
[G] with something like
graph hbox pinftime tinftime winftime, ///
	over(idinfra) by(ethnic , note("")) ///
	boxgap(1) nooutsides note("") legend(rows(1)) ///
	name(infra, replace)

To complicate things, I only want to have one common legend for the left
*and* the right box plot, centered in the middle. However, I can't find out
how to get rid of the left legend. Is there a way to do this?

Thanks a lot for the help, greetings,
--- Daniel ---

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index