I have the following function, that I use to plot two iso-surfaces from data collected in CFD. The only problem is that it does not plot both colors, only gray. This works perfectly in newer versions of MatLab so my guess is that that is the main problem.
Here is my function.
function [ p ] = draw_isosurface(xBox,yBox,zBox,component,iso_plus,iso_minus,plus_color,minus_color)
p.FaceColor = plus_color; p.EdgeColor = 'none';
p.FaceColor = minus_color;
p.EdgeColor = 'none';
I am currently using version 2012a but I'm curious if there is a problem with my function.