This is a combination of announcement/call for testers for a program I've been working on building out for a few months now. There is now a simple way to proof your Stata graphs based on simulated translation of the RGB color space for varying forms of colorblindness. The prefix command
can be used before a graph command to generate a series of translated graphs as well as a proof copy to show a simulated view of the graph as it would be viewed by individuals with achromatopsia (complete color vision loss), protanopia (red color impairment), deuteranopia (green color impairment), and tritanopia (blue color impairment). Although it is possible to extend the functionality to allow the command to work with existing Stata schemes, it would be a significant amount of additional work for limited additional functionality. However, I've recently made some updates to -brewscheme- and -brewtheme- that automatically generate the equivalent schemes translated for different forms of colorblindness. So, now the single call generates the schemes :
scheme
scheme_achromatopsia
scheme_protanopia
scheme_deuteranopia
scheme_tritanopia
The -brewproof- prefix wraps the graph command and passes each version of the scheme file as an argument before combining the simulated version of the graphs into a single proof copy (e.g., all four colorblind simulated graphs are included in a single graph using the settings from the original/baseline schemefile). A more detailed example can be found at the brewproof project page at: http://wbuchanan.github.io/brewscheme/brewproof/. To test the newest functionality you can use:
There are instructions for updating/first time installations available here: http://wbuchanan.github.io/brewscheme/about. If you find any bugs, have any feature requests, etc.. please submit an issue at https://github.com/wbuchanan/brewscheme/issues/new and I'll do my best to resolve the issue quickly.
And in case you wanted to see more direct examples of what the -brewproof- prefix does:





Code:
brewproof, scheme(schemename):
scheme
scheme_achromatopsia
scheme_protanopia
scheme_deuteranopia
scheme_tritanopia
The -brewproof- prefix wraps the graph command and passes each version of the scheme file as an argument before combining the simulated version of the graphs into a single proof copy (e.g., all four colorblind simulated graphs are included in a single graph using the settings from the original/baseline schemefile). A more detailed example can be found at the brewproof project page at: http://wbuchanan.github.io/brewscheme/brewproof/. To test the newest functionality you can use:
Code:
net inst brewscheme, from("http://wbuchanan.github.io/brewscheme/") replace
And in case you wanted to see more direct examples of what the -brewproof- prefix does:






Comment