I would like to obtain different colors for the surfaces created using FILL3 function without scaling the indices specified as the argument.
When I use the following code, I get two surfaces with black and copper (extremes of the colormap) though I have given correct indices for the colors expecting brown and orange.
colormap(copper(5));fill3([-1 1 1 -1;-1 1 1 -1]',[-1 -1 1 1;-1 -1 1 1]',[1 1 1 1;-1 -1 -1 -1]',[3 4]);
Best Answer