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.

lineThis also applies to the case when just one or two matrices have one row. Forexample, the statement,line(rand(2,4),rand(2,4),rand(1,4))is equivalent to:line(rand(4,2),rand(4,2),rand(4,1))ObjectHierarchyRootFigureAxesUicontrolUimenuUicontextmenuImageLightLinePatchRectangleSurfaceTextSetting Default PropertiesYou can set default line properties on the axes, figure, and root levels.set(0,'DefaultLinePropertyName',PropertyValue,...)set(gcf,'DefaultLinePropertyName',PropertyValue,...)set(gca,'DefaultLinePropertyName',PropertyValue,...)Where PropertyName is the name of the line property and PropertyValue is thevalue you are specifying. Use set and get to access line properties.The following table lists all line properties and provides a brief description ofeach. The property name links take you to an expanded description of theproperties.2-274

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

Saved successfully!

Ooh no, something went wrong!