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]
st: Symplacement
From
Dorothy Bridges <[email protected]>
To
[email protected]
Subject
st: Symplacement
Date
Sun, 29 Aug 2010 17:09:23 -0700
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/