12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure PropertiesPrinting from OpenGLWhen you print a figure that was drawn with OpenGL, <strong>MATLAB</strong> switches tothe ZBuffer renderer to produce output, which has a resolution determined bythe print command’s −r option. This may cause flashing of the figure as therenderer changes.Implementations of OpenGL Tested by The MathWorksThe following hardware versions have been tested:• AccelECLIPSE by Accel<strong>Graphics</strong>• Sol2/Creator 3D• SGIThe following software versions have been tested:• Mesa• CosmoGL• Microsoft’s Windows 95 implementation• NT 4.0RendererMode{auto} | manualAutomatic, or user selection of Renderer. This property enables you to specifywhether <strong>MATLAB</strong> should choose the Renderer based on the contents of thefigure window, or whether the Renderer should remain unchanged.When the RendererMode property is set to auto, <strong>MATLAB</strong> selects the renderingmethod for printing as well as for screen display based on the size andcomplexity of the graphics objects in the figure.For printing, <strong>MATLAB</strong> switches to zbuffer at a greater scene complexity thanfor screen rendering because printing from a Z-buffered figure can beconsiderably slower than one using the painters rendering method, and canresult in large PostScript files. However, the output does always match whatis on the screen. The same holds true for OpenGL: the output is the same asthat produced by the ZBuffer renderer – a bitmap with a resolution determinedby the print command’s −r optionWhen the RendererMode property is set to manual, <strong>MATLAB</strong> does not changethe Renderer, regardless of changes to the figure contents.2-184

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!