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

Re: st: grc1leg and ring(0)


From   vwiggins@stata.com (Vince Wiggins, StataCorp)
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: grc1leg and ring(0)
Date   Thu, 08 Sep 2005 12:12:11 -0500

Dear Statalist Subscribers,

Aleksander Rutkowski <ALR@asb.dk> asks why the user-written command -grc1leg-,
which combines graphs with a common legend, ignores the option -ring(0)-,
which should place the legend in the "plotregion" amongst the combined graphs.

> [...] I type:
>
>    grc1leg gr1 gr2 gr3 , position(4) ring(0)
>
> and I get the same output as if I typed:
>
>    grc1leg gr1 gr2 gr3 , position(4)
>
> The legend appears on the margin i.e. beyond the plot area (instead
> of within the plot area) [...]

I think the major problem was over-documentation -- -ring(0) is a tricky thing
for graphs to support and I did not intend to be that tricky with -grc1leg-.
Nevertheless, it was doable and as Aleksander described can be useful.
-ring(0)- will work with the most recently posted version of -grc1leg-.  Just
reinstall the package.  For anyone interested, -findit grc1leg- will lead you
quickly to the package.

-- Vince 
   vwiggins@stata.com

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