Statalist The Stata Listserver


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

RE: st: Graph: Hiding one key in legend


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

Thanks Maarten, that would usually help me a lot (and will certainly in
the future), but I'm in the unfortunate situation that I have different
information represented in the different graphs, so I need to list up
all the line-keys in the legend(s). It seems -grc1leg- can only adopt
the legend from one of the underlying graphs, I would need it to create
the union of those legends.

Speculating, one possible solution could be to add additional keys to
the -grc1leg- graph to represent the missing keys, but adding keys
doesn't seem to be any easier than removing them...

-Steinar

>
>Have a look at -findit grc1leg- (probably short for graph combine with
>1 legend).
>
>Hope this helps,
>Maarten 
>
>>--- Steinar Fossedal <Steinar.Fossedal@nhh.no> wrote:
>> Is there a way of dropping/hiding one of the keys in a graph legend?
>> 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.


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