I have a pcolor plot that I want to set the color limits on. My code is
but if i add a third line
then I get an "??? Undefined function or method 'clim' for input arguments of type 'double'." error.