-
Hi! It's been a while and I missed it here! Does anyone know how the colour map RGB values are translated from the real values? For example, how is a crystal orientation, say (37, 81, 112) in Euler convention translated to RGB values, if the default 'viridis' colour map is used? |
Beta Was this translation helpful? Give feedback.
Answered by
rquey
May 5, 2022
Replies: 1 comment 26 replies
-
Welcome back @xshang93! It's described in, e.g., -datacellcolscheme:
I'll complete the documentation. |
Beta Was this translation helpful? Give feedback.
26 replies
Answer selected by
xshang93
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Welcome back @xshang93!
It's described in, e.g., -datacellcolscheme:
viridis
, etc.rodrigues
andipf
, and they are shown in this tutorial. True that they are not described in detail in the documentation. Forrodrigues
, the color is defined as {R,G,B}=255 x (r_i + sqrt(2) - 1) / (2 * (sqrt(2) - 1)), for cubic crystal symmetry.I'll complete the documentation.