Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: Placement of legend above "note" in -grc1leg-


From   Tim Evans <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: Placement of legend above "note" in -grc1leg-
Date   Wed, 20 Feb 2013 15:49:37 +0000

Hi Scott,

Thanks for your suggestion (and reference to where -grc1leg- can be found!)

Best wishes

Tim


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Scott Merryman
Sent: 20 February 2013 13:05
To: [email protected]
Subject: Re: st: Placement of legend above "note" in -grc1leg-

On Wed, Feb 20, 2013 at 5:38 AM, Tim Evans <[email protected]> wrote:
> I'm using Stata 11.2 and trying to combine three graphs using the user-written -grc1leg-, however I'm having a little trouble in the placement of the legend and the insertion of a note. I'm trying to place the legend below the graph and centred and place the note that I want to add to the right and below the legend. Currently my code seems to place the legend below the note and despite attempts to play with "ring" and "pos" options for both legend and note, I just don't seem to be able to place them in the desired order. I've got an example below. Any help greatly appreciated.


Try:

grc1leg One Two Three, cols(3) ycommon  ring(3)  ///
                l1title("Life expectancy at birth (years)") ///
               b1title("Year", size(small) ring(0) )  ///
                 note("Source: National Vital Statistics, Vol 50, No. 6" ///
                  "(1918 dip caused by 1918 Influenza Pandemic)" ,
ring(5) pos(5) )


(-grc1leg located at:  net describe grc1leg,
from(http://www.stata.com/users/vwiggins) )

Scott

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/

_DISCLAIMER:
This email and any attachments hereto contains proprietary information, some or all of which may be confidential or legally privileged. It is for the exclusive use of the intended recipient(s) only. If an addressing or transmission error has misdirected this e-mail and you are not the intended recipient(s), please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail or any attachments, as this may be unlawful.


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index