Hi folks!
maybe you can point me in the right direction:
I have a list of colour measurements in Lab-Space(stored in an h5 table). Now, 3d-scatterplotting them was easy, also, assigning the corresponding rgb colour value to the spots is relatively easy.
For the plot i use:
p=ax.scatter3D(table.cols.Lab_a[:],table.cols.Lab_b[:],table.cols.Lab_L[:],c=cols)
Now, the annoying part: when i move around the figure with the mouse, the points in the background get "dimmed" or shaded down to less saturation. Now in my case, i want to turn this behaviour off, since i want the points to be the colour they represent, all the time.
How do i do this?
thanks for your help
Thomas
## values in "table"
from colormath.color_objects import LabColor
cols=[]
for row in table[:]:
cols.append(LabColor(lab_l=row['Lab_L'],lab_a=row['Lab_a'],lab_b=row['Lab_b']).convert_to('rgb').get_rgb_hex())
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
ax.set_xlabel('a')
ax.set_ylabel('b')
ax.set_zlabel('L')
ax.set_xlim(-100,100)
ax.set_ylim(-100,100)
ax.set_zlim(0,100)
fig.show()