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

FR: Add more options to control yr & yt #21

Open
voxnonecho opened this issue May 2, 2017 · 1 comment
Open

FR: Add more options to control yr & yt #21

voxnonecho opened this issue May 2, 2017 · 1 comment

Comments

@voxnonecho
Copy link

For example, I want to identify the top 3 values in a bar graph on the right side:

v_yr <- rowSums(mat, na.rm = TRUE)
col_yr <- rep("grey50", length(v_yr))
col_yr[tail(order(v_yr), 3)] <- viridis::plasma(1) 

But I would also like to add text labels on those specific values.

@rlbarter
Copy link
Owner

rlbarter commented May 3, 2017

You should be able to color the top three values manually as your code seems to indicate. I will think about adding text capabilities to the adjacent plots. Currently it's not high on my priority list (but it is also easier than other things on my priority list!).

I'll let you know when I get around to this!

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

2 participants