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]

st: key symbol size in legend


From   Stas Kolenikov <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: key symbol size in legend
Date   Tue, 3 Sep 2013 13:42:48 -0500

Is there any way to control how large the symbols are in legends? Consider

sysuse auto, clear
scatter mpg trunk weight [aw=price] , ms(Oh Dh) msize(small small)

Now I am not liking the size of the symbols in the legend, and want to
make them a tad larger. I go to the help file, which suggests
-symysize()- and -symxsize()- options:

scatter mpg trunk weight [aw=price] , ms(Oh Dh) msize(small small)
legend( symysize(20) symxsize(30)  )

Well, nothing apparently happens, so I -forcesize- them to work:

scatter mpg trunk weight [aw=price] , ms(Oh Dh) msize(small small)
legend( symysize(20) symxsize(30) forcesize )

Instead of the symbols getting larger, the white space in the legend
gets larger. Hm... any suggestions?

-- Stas Kolenikov, PhD, PStat (ASA, SSC)
-- Senior Survey Statistician, Abt SRBI
-- Opinions stated in this email are mine only, and do not reflect the
position of my employer
-- http://stas.kolenikov.name
*
*   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