A little remark about the function ver.1
To replce the short-cut || (logical or) with the normal | ,is not a solution to extend the function to lower version of matlab. For example in Matlab ver.6.1 there are many problems with OpenGL library.
Anyway thank you Fabio.
Comment only