Comments (4)
I created a simple package to generate an Iwanthue palette in R: https://github.com/hoesler/rwantshue
from iwanthue.
Please show me one tutorial, I run the commands, but where is the color
palette, thanks Dr.Samuel, India
On Thu, Jan 22, 2015 at 5:19 AM, Christoph Hösler [email protected]
wrote:
I created a simple package to generate an Iwanthue palette in R:
https://github.com/hoesler/rwantshueReply to this email directly or view it on GitHub
#7 (comment).
from iwanthue.
library(rwantshue)
color_scheme <- iwanthue()
color_scheme$hex(8)
should produce something like
[1] "#92C3AE" "#B15BCA" "#C0513A" "#84CA54" "#4C4538" "#7E82B6" "#BDA04D" "#B0517A"
I use it to scale color in ggplot like this:
gg <- gg + scale_color_manual(values = color_scheme$hex(nrow(data)))
Does that answer your question?
Please be sure to install the latest version as described in the install section of the readme.
Cheers, Christoph
from iwanthue.
Dear Christoph, it answers my question, thanks Samuel
On Thu, Jan 22, 2015 at 3:35 PM, Christoph Hösler [email protected]
wrote:
library(rwantshue)color_scheme <- iwanthue()color_scheme$hex(8)
should produce something like
[1] "#92C3AE" "#B15BCA" "#C0513A" "#84CA54" "#4C4538" "#7E82B6" "#BDA04D"
"#B0517A"I use it to scale color in ggplot like this:
gg <- gg + scale_color_manual(values = color_scheme$hex(nrow(data)))
Does that answer your question?
Please be sure to install the latest version as described in the install
section of the readme.Cheers, Christoph
Reply to this email directly or view it on GitHub
#7 (comment).
from iwanthue.
Related Issues (20)
- build palette around pre-selected colours? HOT 1
- Theory page JavaScript seems to get stuck in a loop
- Getting many visually distinct colors with the same saturation and lightness is hard
- Edit manipulates wrong colour after ordering them
- Sort by multiple keys
- Not working at all on os/x sierra (chrome or safari) ? HOT 2
- Are we still maintained HOT 3
- Theory page seems to cause browser hang HOT 2
- "I Want Hue" online tool "diff" mode bug
- We really need to create a npm package for this
- Add presets & filters to npm package
- Check bugfix for diffSort
- NaN bug in Protanope distance calculations for RGB color 9549d0
- Recreating same palette again with same parameters - what is the seed for palette? HOT 5
- Suggestion: Add "Steps" and "Ultra Precision" to GUI
- Locks position not changed after changing sorting
- Add HSL values to each color.
- Suggestion: Incorporate background color and WCAG contrast annotations. HOT 1
- Accompanying paper HOT 3
- Color space: boundaries for C HOT 9
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 iwanthue.