Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: tmap legend size


From   Friedrich Huebler <huebler@rocketmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: tmap legend size
Date   Wed, 24 Aug 2005 11:46:44 -0700 (PDT)

Scott,

Thank you for tracking these options down. I also changed lines 519
and 520 in tmap_choropleth.ado from

  local JY = (`ymax' - `ymin') * 0.03
  local JX = (`xmax'-`xmin') * 0.03

to

  local JY = 0
  local JX = 0

With the original code the margins in the graphs were too big for my
taste.

Friedrich Huebler

--- smerryman@kc.rr.com wrote:
> It appears that the size is hardcoded, but you could change the
> values of the symy and symx option in line 490 of -tmap_choropleth-
> to alter the size of the boxes.
> 
> 
> Line 490:
> 
> 	local LEGEND `"`LEGEND' symy(1.7) symx(3) keygap(1) rowgap
> (0.5)"'
> 
> Scott
> 
> 
> ----- Original Message -----
> From: Friedrich Huebler <huebler@rocketmail.com>
> Date: Wednesday, August 24, 2005 11:05 am
> Subject: st: tmap legend size
> 
> > The -tmap- package from SSC has an option that controls the
> > legend size but it only affects the size of the text.
> > 
> > . use Us-Database.dta, clear
> > . tmap cho hsdip if conterminous, id(id) map(Us-Coordinates.dta)
> > legsize(4)
> > 
> > The above command draws a map with a bigger legend text but the
> > boxes
> > next to the text stay small. Is there an option that controls the
> > size of the boxes?
> > 
> > Thank you,
> > 
> > Friedrich Huebler


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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   |   What's new   |   Site index