> I have problem to plot standard 3d function, for example "sphere" -
> this is a little strange because I can plot "sphere(17)" but not
> "spere(18)" (the field of plot is empty); similarly I can plot
> function using "meshc"(not all) but not "mesh". Maybe in my operation
> system, Windows XP, lack some files?! Does anybody know now to solve
> this problem?!
Check your figure renderer in each case with get(gcf, 'Renderer'). My guess
is that one uses OpenGL and the other does not; there may be a conflict
between OpenGL and MATLAB on your machine. Verify this diagnosis with
sections 4 through 7 of:
and take a look at sections 8 and 9 for possible solution methods.
Also, if you're using MATLAB 6.1 (R12.1) or earlier, see: