Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graph scheme #25

Open
briatte opened this issue Apr 15, 2020 · 1 comment
Open

Graph scheme #25

briatte opened this issue Apr 15, 2020 · 1 comment
Assignees
Milestone

Comments

@briatte
Copy link
Owner

briatte commented Apr 15, 2020

Digging in tweets and bookmarks… My own scheme-burd seems to have a few issues in recent versions of Stata, so at least update it, or switch to one of those below.

stata-scheme-modern

https://github.com/mdroste/stata-scheme-modern#screenshots

Seems most promising. Would ideally like to support BuRd diverging colours.

538

ssc install g538schemes, replace all

https://danbischof.com/2017/09/05/a-final-stata-gift-538-schemes/

Via @rivelino22.

@briatte briatte self-assigned this Apr 15, 2020
@briatte briatte mentioned this issue Apr 15, 2020
@briatte briatte added this to the v2.0 milestone Jan 30, 2021
@briatte briatte changed the title Scheme: 538 Graph scheme Jan 30, 2021
@briatte
Copy link
Owner Author

briatte commented Jan 30, 2021

Test code:

sysuse auto, clear
gen group = _n in 1/16

gr bar price, over(group) asyvars scheme(s2color) ///
	name(s2color, replace)

gr bar price, over(group) asyvars scheme(burd) ///
	name(burd, replace)

gr bar price, over(group) asyvars scheme(modern) ///
	name(modern, replace)

gr mat trunk turn headroom, scheme(s2color) ///
	name(mat_s2color, replace)
gr mat trunk turn headroom, scheme(burd) ///
	name(mat_burd, replace)
gr mat trunk turn headroom, scheme(modern) ///
	name(mat_modern, replace)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant