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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure PropertiesPointerShapeHotSpot2-element vectorPointer active area. A two-element vector specifying the row and columnindices in the PointerShapeCData matrix defining the pixel indicating thepointer location. The location is contained in the CurrentPoint property andthe root object’s PointerLocation property. The default value is element (1,1),which is the upper-left corner.Positionfour-element vectorFigure position. This property specifies the size and location on the screen ofthe figure window. Specify the position rectangle with a four-element vector ofthe form:rect = [left, bottom, width, height]where left and bottom define the distance from the lower-left corner of thescreen to the lower-left corner of the figure window. width and height definethe dimensions of the window. See the Units property for information on theunits used in this specification. The left and bottom elements can be negativeon systems that have more than one monitor.You can use the get function to obtain this property and determine the positionof the figure and you can use the set function to resize and move the figure toa new location.Rendererpainters | zbufferRendering method used for screen and printing. This property enables you toselect the method used to render <strong>MATLAB</strong> graphics. The choices are:• painters – <strong>MATLAB</strong>’s original rendering method is faster when the figurecontains only simple or small graphics objects.• zbuffer – <strong>MATLAB</strong> draws graphics object faster and more accuratelybecause objects are colored on a per pixel basis and <strong>MATLAB</strong> renders onlythose pixels that are visible in the scene (thus eliminating front-to-backsorting errors). Note that this method can consume a lot of system memoryif <strong>MATLAB</strong> is displaying a complex scene.• OpenGL – OpenGL is a renderer that is available on many computer systems.This renderer is generally faster than painters or zbuffer and in some casesenables <strong>MATLAB</strong> to access graphics hardware that is available on somesystems.2-181

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

Saved successfully!

Ooh no, something went wrong!