28.12.2012 Views

Figure Properties - SERC

Figure Properties - SERC

Figure Properties - SERC

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.

opengl<br />

2opengl<br />

Purpose Change automatic selection mode of OpenGL rendering<br />

Syntax opengl selection_mode<br />

opengl info<br />

s = opengl data<br />

Description The OpenGL autoselection mode applies when the RendererMode of the figure<br />

is auto. Possible values for selection_mode are<br />

2-1580<br />

autoselect – allows OpenGL to be automatically selected if OpenGL is<br />

available and if there is graphics hardware on the host machine.<br />

neverselect – disables autoselection of OpenGL.<br />

advise – prints a message to the command window if OpenGL rendering is<br />

advised, but RenderMode is set to manual.<br />

opengl, by itself, returns the current autoselection state.<br />

opengl info prints information with the version and vendor of the OpenGL<br />

on your system.<br />

s = opengl data returns a structure containing the same data that is<br />

displayed when you call opengl info.<br />

Note that the autoselection state only specifies that OpenGL should or not be<br />

considered for rendering; it does not explicitly set the rendering to OpenGL.<br />

This can be done by setting the Renderer property of the figure to OpenGL. For<br />

example,<br />

set(gcf,'Renderer','OpenGL')<br />

See Also <strong>Figure</strong> Renderer property

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

Saved successfully!

Ooh no, something went wrong!