Wednesday, April 21, 2010

Matlab black picture problem

Warning: Problems in UIW_SetUpGLPrinting
In C:\Program Files\MATLAB\R2009b\toolbox\matlab\graphics\hardcopy.p>hardcopy at 21
In graphics\private\render at 143
In print at 277
In hgexport at 818
In filemenufcn>localSaveExportHelper at 206
In filemenufcn>localSaveExport at 316
In filemenufcn at 56

Try changing the Renderer property of your figure from OpenGL to ZBuffer.
To do this, use:

set(gcf, 'Renderer', 'ZBuffer')