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()



------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to