tag:blogger.com,1999:blog-38545607.post2578620642875700692..comments2024-03-09T10:26:48.789+00:00Comments on economics, psychology, policy: Graphs in StataEmma Watsonhttp://www.blogger.com/profile/11466193733741012673noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-38545607.post-88299463650894451052009-12-04T14:22:11.103+00:002009-12-04T14:22:11.103+00:00The graphs look great! good job!The graphs look great! good job!Peter Carneyhttps://www.blogger.com/profile/15551314243423821313noreply@blogger.comtag:blogger.com,1999:blog-38545607.post-34173174557650419462009-12-04T12:34:05.261+00:002009-12-04T12:34:05.261+00:00Thanks Brendan, I have a habit of exporting graphs...Thanks Brendan, I have a habit of exporting graphs the same size as beamer slides and I didn't bother to change for this one. I'd guess the default Stata option gets the aspect ratio right, if not I'll try your suggestionMark McGovernhttps://www.blogger.com/profile/17133619200829364366noreply@blogger.comtag:blogger.com,1999:blog-38545607.post-78117558875641875112009-12-03T17:40:45.407+00:002009-12-03T17:40:45.407+00:00There is an aspect ratio problem. This can be (cru...There is an aspect ratio problem. This can be (crudely) fixed by scaling the _X in the *c.dta file (created by shp2dta) by the cosine of the latitude (of the middle of the map, approximately):<br /><br />local Pi 2*acos(0)<br />replace _X = _X*cos(`Pi'*53/180)BrendanHhttps://www.blogger.com/profile/13374555262310106372noreply@blogger.comtag:blogger.com,1999:blog-38545607.post-76410442618425137272009-12-02T20:44:27.532+00:002009-12-02T20:44:27.532+00:00Useful info, but your aspect ratio is out. You'...Useful info, but your aspect ratio is out. You're possibly mapping latitude and longitude onto X,Y directly. If so, a quick fix is to scale the X dimension by cos(Y), i.e. shrink the east-west dimension by the cosine of the latitude of the middle of the map.BrendanHnoreply@blogger.comtag:blogger.com,1999:blog-38545607.post-8475175791642316312009-11-30T16:36:36.089+00:002009-11-30T16:36:36.089+00:00Cheers Mark; would like to talk to you about this ...Cheers Mark; would like to talk to you about this more!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-38545607.post-34488599260998162712009-11-30T15:09:12.003+00:002009-11-30T15:09:12.003+00:00"A visual guide to Stata graphics" by Mi..."A visual guide to Stata graphics" by Mitchell is extremely useful.Kevin Dennyhttps://www.blogger.com/profile/17891633553910348880noreply@blogger.comtag:blogger.com,1999:blog-38545607.post-56940909101860797432009-11-30T14:08:30.990+00:002009-11-30T14:08:30.990+00:00excellent, thanks Mark. That mapping command is gr...excellent, thanks Mark. That mapping command is great.Liam Delaneyhttps://www.blogger.com/profile/04905424104233324535noreply@blogger.com