Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Graph: Hiding one key in legend


From   "Steinar Fossedal" <Steinar.Fossedal@nhh.no>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Graph: Hiding one key in legend
Date   Sun, 25 Mar 2007 21:02:37 +0200

Hi, listers.

Is there a way of dropping/hiding one of the keys in a graph legend? I'm
creating a graph with a line on a histogram background using -hist,
plot()-, and would like the legend only to show the symbol and label for
the line. The reason for this is that when I later join multiple graphs
into one using -graph combine-, the histogram key is repetitive and does
nothing but take up space and make the labels go outside legend borders.

Hope you can help,
-Steinar

*
*   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/



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