Comments (2)
Hello, I would like follow up on Grant's suggestion! I tried to change the colors using ggplot2
color functions such as scale_color_brewer(palette="YlOrRd")
, but to no avail. This functionality would be very useful. Thanks in advance!
from choirbm.
Hi @handrigg ,
I am glad to hear that the package has been helpful! I am sorry for not getting to your request sooner.
In case you have not solved the problem yet, you can change the color scheme with the ggplot2 functions. @RaviBot , I think you're on the right track, the issue may have been that scale_color_brewer(palette="YlOrRd")
could be designed for a discrete as opposed to continuous scale, or is not a "fill" type. You can change the color scales like so:
plot_male_choirbm(values, "value") + scale_fill_gradient(low = "#FFFACD", high = "#800080")
Which will produce a yellow-purple gradient.
You can also use the viridis
package and play around with their built-in palettes.
#install.packages("viridis")
library(viridis)
plot_male_choirbm(values, "value") + scale_fill_viridis(palette="magma")
I hope that helps, and good luck with your poster!
from choirbm.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from choirbm.