Is it possible to make a 3d object have different colors on each side (one side of an object one color like red and another side another color like blue) using surf?
%example
[x y] = meshgrid(-1:0.1:1); % Generate x and y data
z = zeros(size(x, 1)); % Generate z data
surf(x, y, z, 'FaceColor', 'red') % Plot the surface
How can I make the other side another color like blue?
--