How to plot many illuminants with different scatter settings? #1006
Replies: 5 comments 4 replies
-
this is the error when trying to plot that format of dictionary illuminants for uv |
Beta Was this translation helpful? Give feedback.
-
the goal is to get something like this but in uv; however, i dont want to build a dictionary w/ len 10,026 or 9,345 keys. else the there's no way to differentiate the markers |
Beta Was this translation helpful? Give feedback.
-
@KelSolaar senpai |
Beta Was this translation helpful? Give feedback.
-
As you need such a large quantity of points, I would recommend three scatter plots on top of the diagram that you want: import colour.plotting
import numpy as np
figure, axes = colour.plotting.plot_chromaticity_diagram_CIE1976UCS(standalone=False)
colour.plotting.temperature.plot_planckian_locus(method="CIE 1976 UCS", axes=axes, standalone=False)
axes.scatter(np.random.random(100), np.random.random(100), color="r", marker="x")
axes.scatter(np.random.random(100), np.random.random(100), color="g", marker="v")
axes.scatter(np.random.random(100), np.random.random(100), color="b", marker="+")
colour.plotting.render() |
Beta Was this translation helpful? Give feedback.
-
@KelSolaar is there a way to set the markersize in your provided example? i cannot seem to set one |
Beta Was this translation helpful? Give feedback.
-
how do i format the illuminants kwargs, if i want to plot something similar in xy? this dictionary of 3 keys each with corresponding xy values of same length, can be plotted in the xy chart, shown here. but when i try to use this same format to uv, there's an error
Beta Was this translation helpful? Give feedback.
All reactions