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

RGB as percentage #20

Open
JacobHughes opened this issue Sep 13, 2016 · 0 comments
Open

RGB as percentage #20

JacobHughes opened this issue Sep 13, 2016 · 0 comments

Comments

@JacobHughes
Copy link

A lot of the scientists who I work with use MATLAB to plot data, I was wondering if it was worthwhile to include an output of the colours for MATLAB?

MATLAB colours are RGB and range from 0-1, you can easily convert from the RGB json values by dividing each by 255.

To make a cell array from this for MATLAB you would write something like:
{ [1,1,0] , [0,0.5,0.5], [0.5,0.75,0.1] }

Since there is space available on the webpage, it seems like an easy output to generate to reach a wider audience?

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

No branches or pull requests

1 participant