Maurizio Pisati, the author of -tmap-, has informed me that legends
can be left-aligned by adding the options -just(left) bexpand-.
. tmap choropleth winner if conterminous, id(id)
map(us-Coordinates.dta) legpos(7) legsize(2) legtitle("US
Presidential Election", just(left) bexpand) clmethod(unique)
Thank you, Maurizio.
Friedrich Huebler
--- Friedrich Huebler <[email protected]> wrote:
> When I draw a map with -tmap- from SSC the legend keys and the
> legend title are always centered and I don't know how to change
> this. Take the following example:
>
> . use us-database.dta, clear
> . tmap choropleth winner if conterminous, id(id)
> map(us-Coordinates.dta) legpos(7) legsize(2) legtitle("US
> Presidential Election") clmethod(unique)
>
> The entire legend is centered but I would like the title and the
> keys to be left-aligned. In other words, the legend title should
> be at the left margin of the graph and the boxes should be directly
> underneath the letters "US".
>
> Can this be done, either by changing an option or editing the
> -tmap- ado files? I looked at tmap_choropleth.ado but don't
> understand how the alignment of the legend is controlled.
>
> Many thanks,
>
> Friedrich Huebler
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
*
* 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/