The following codes work well in r2014a. But it does not work in r2014b because the graphic handle has been changed. So would there be a quick way to change the codes? Any help would be highly appreciated.
[c,h]=contour3(peaks(30));for i=1:length(h) zz=get(h(i),'Zdata'); set(h(i), 'ZData', 0* ones(size(zz)));endview(3);
Best Answer