Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

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

From   Tim Evans <>
To   "" <>
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


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

On Wed, Feb 20, 2013 at 5:38 AM, Tim Evans <> 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.


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( )


*   For searches and help try:

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:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index