- /
-
RBG Colormap
on 22 Oct 2021
- 5
- 28
- 1
- 0
- 199
x = (0:0.1:1)';
[X,Y,Z] = meshgrid(x);
cmap = [X(:) Y(:) Z(:)];
XYZ = cmap;
scatter3(X(:),Y(:),Z(:),50,cmap,'filled','MarkerFaceAlpha', 0.9)
xlabel('R'),ylabel('G'),zlabel('B')
axis equal
view([-44.933 19.200])