new figure schemes for stata
play

New Figure Schemes for Stata: blindschemes The Schemes plotplain - PowerPoint PPT Presentation

The Issue Solutions New Figure Schemes for Stata: blindschemes The Schemes plotplain & plottig Adaptation Conclusion Daniel Bischof 1 1 University of Zurich November 17, 2016 1/17 The Default Stata Figure Schemes 6 The Issue


  1. The Issue Solutions New Figure Schemes for Stata: blindschemes The Schemes plotplain & plottig Adaptation Conclusion Daniel Bischof 1 1 University of Zurich November 17, 2016 1/17

  2. The Default Stata Figure Schemes 6 The Issue Solutions 5 blindschemes The Schemes 4 Adaptation Conclusion 3 2 1 4 5 6 7 logged number of terrorist events 95% CI Fitted values logged number of killed people 2/17

  3. Limitations The Issue Solutions colors are difficult to differentiate for colorblind people blindschemes The Schemes background tinting Adaptation frames Conclusion symbols, markers, lines often too thick gridlines only parallel to x-axis legends could be placed closer to content of figure 3/17

  4. Solutions The Issue Solutions blindschemes The Schemes Adaptation 1 the obvious solution is to produce code Conclusion 4/17

  5. Solutions The Issue Solutions blindschemes The Schemes Adaptation 1 the obvious solution is to produce code; lots of code . . . Conclusion 4/17

  6. Solutions The Issue twoway /// Solutions (line numcountries year, lcolor(gs12)) /// blindschemes , ylabel(, angle(horizontal)) xtitle("") /// The Schemes Adaptation graphregion(fcolor(white) lcolor(white) Conclusion lwidth(vvvthick) ifcolor(white) ilcolor(white) ilwidth(vvvthick)) /// plotregion(lcolor(white) lwidth(vvvthick) ifcolor(white) ilcolor(white) ilwidth(vvvthick)) /// legend(cols(1) region(lcolor(white))) 5/17

  7. Solutions The Issue Solutions blindschemes 1 the obvious solution is to produce code; lot’s of code . . . The Schemes Adaptation 2 use Billy Buchanan’s brewscheme to define your own Conclusion designs 6/17

  8. Solutions The Issue Solutions blindschemes 1 the obvious solution is to produce code; lot’s of code . . . The Schemes Adaptation 2 use Billy Buchanan’s brewscheme to define your own Conclusion designs 3 write a new package addressing some of the key limitations 6/17

  9. Why write a new figure scheme? The Issue Solutions blindschemes ! time The Schemes ! ensure quality (create uniform norm) Adaptation ! simplify the usage of more and new colors Conclusion ! many users lack knowledge how to adapt figures ⇒ there seems to be a high demand for new and alternative figure schemes 7/17

  10. Solution 3: Write a new figure scheme The Issue Solutions I wrote 2 figure schemes: blindschemes The Schemes plotplain: very simple, “clean” figure scheme Adaptation plottig: replicates ggplot2 (R) by Hadley Wickham in most Conclusion regards 8/17

  11. Solution 3: Write a new figure scheme The Issue Solutions I wrote 2 figure schemes: blindschemes The Schemes plotplain: very simple, “clean” figure scheme Adaptation plottig: replicates ggplot2 (R) by Hadley Wickham in most Conclusion regards → both available with colors distinguishable for colorblind people 8/17

  12. Solution 3: blindschemes in the SSC Archive The Issue Solutions blindschemes The Schemes Adaptation Conclusion 9/17

  13. Plotplain The Issue Solutions 6 blindschemes 5 The Schemes Adaptation 4 Conclusion 3 2 Western Europe North America MENA 1 4 5 6 7 logged number of terrorist events 10/17

  14. Plottig The Issue Solutions 6 blindschemes 5 The Schemes Adaptation 4 Conclusion 3 2 Western Europe North America MENA 1 4 5 6 7 logged number of terrorist events 11/17

  15. The colorblind colors plotplainblind 10 black The Issue gs10 8 Solutions sky turquoise blindschemes 6 orangebrown The Schemes reddish 4 vermillion Adaptation sea 2 Conclusion ananas 0 plottig 15 black plr1 ply1 plg1 plb1 10 pll1 plr2 ply2 plg2 plb2 5 pll2 ply3 plg3 plb3 pll3 0 12/17

  16. Adaptation of Code: Gridlines The Issue Solutions blindschemes The Schemes lpoly nkill iyear if region==12, /// Adaptation ci legend(off) title("Polynomial fit of terrorist Conclusion casualties in Western Europe") /// note("") 13/17

  17. Adaptation of Code: Gridlines Polynomial fit of terrorist casualties in Western Europe The Issue 6 Solutions blindschemes 5 The Schemes logged number of killed people Adaptation 4 Conclusion 3 2 1 1970 1980 1990 2000 2010 2020 incident year 14/17

  18. Adaptation of Code: Gridlines The Issue Solutions blindschemes The Schemes lpoly nkill iyear if region==12, /// Adaptation ci legend(off) title("Polynomial fit of terrorist Conclusion casualties in Western Europe") /// note("") xlabel(, nogrid) 15/17

  19. Adaptation of Code: Gridlines Polynomial fit of terrorist casualties in Western Europe The Issue 6 Solutions blindschemes 5 The Schemes logged number of killed people Adaptation 4 Conclusion 3 2 1 1970 1980 1990 2000 2010 2020 incident year 16/17

  20. Conclusion The Issue + Improvement: Less code needed, users can focus on other Solutions tasks blindschemes The Schemes + Disagreement: Even if you disagree, less changes are Adaptation needed for further adaptation Conclusion - Concerns: Still issues remain, e.g. overlapping confidence intervals For further information including the working paper on the schemes: danbischof.com 17/17

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend