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, statalist.org is already up and running.


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

Re: st: RE: Symplacement


From   Dorothy Bridges <dbstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Symplacement
Date   Sun, 29 Aug 2010 18:19:05 -0700

That works perfectly, actually -- thank you!  No need for additional elegance.


On Sun, Aug 29, 2010 at 6:05 PM, Martin Weiss <martin.weiss1@gmx.de> wrote:
>
> <>
>
> I could certainly see you playing with the xoffset in
>
>
> *************
> gr_edit .legend.plotregion1.xoffset = -20
> *************
>
> to nudge the keys into their desired position. Admittedly, there is probably
> a more elegant solution...
>
> HTH
> Martin
>
> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Dorothy Bridges
> Sent: Montag, 30. August 2010 02:09
> To: statalist@hsphsun2.harvard.edu
> Subject: st: Symplacement
>
> Dear All:
>
> I have a legend with ten symbols/keys and a relatively long title.  I
> would like the title to be left-justified in the legend box, and for
> the symbols/keys to be arranged in a single left-justified column.
> That is, I would like the left edge of the symbols to appear directly
> under the very first character of the title.
>
> I know how to left-justify the title of the legend, and I know how to
> make the keys appear in a single column, but for the life of me I
> cannot get that column to appear anywhere but centered under the text.
>  I tried the legend suboption "symplacement," but to no avail.
>
> By way of illustration:
> webuse grunfeld,clear
> #delimit;
> twoway (line invest year if company==1)
> (line invest year if company==2)
> (line invest year if company==3),
> legend(cols(1)
> title("This fairly long title demonstrates my problem:",
> placement(west) justification(left) size(small))
> subtitle("I would like the column of symbols/keys left-justified rather"
> "than centered, which creates awkward white space",
> placement(west) justification(left) size(vsmall))
> symxsize(*.5));
>
> Many thanks,
> Dorothy
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index