MATLAB: Does the ISOSURFACE function behave differently when plotting a surface on a figure window as compared to plotting on an axis in GUIDE in MATLAB 6.5 (R13)

3-d3daxisguideisosurfaceMATLABpropertiesthree-dimensional

I have developed a GUI to generate an isosurface. When I run the application I do not get the surface as a 3-D surface. I see only the 2-D view. However, if in the application I create a new figure window and then plot the surface on this new figure window, the same piece of code renders the figure correctly. Why is this happening?

Best Answer

This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, please read below for any possible workarounds:
This is a bug in MATLAB in the way that the ISOSURFACE function updates the properties of the axis in GUIDE.
Currently, to work around this issue, change the properties of the axes in the GUI figure with the following code:
view(3);
camlight; lighting gourand
Related Question