23.12.2012 Views

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

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.

• 'rand' – set the AlphaData property to a matrix of random values equal in<br />

size to CData<br />

AlphaData (Image Objects)<br />

alpha(alpha_data) sets the AlphaData property of all image objects in the<br />

current axes. You can set alpha_data to:<br />

• a matrix the same size as CData – sets the AlphaData property to the<br />

specified value<br />

• 'x' – ignored<br />

• 'y' – ignored<br />

• 'z' – ignored<br />

• 'color' – set the AlphaData property to be the same as CData<br />

• 'rand' – set the AlphaData property to a matrix of random values equal in<br />

size to CData<br />

FaceVertexAlphaData (Patch Objects)<br />

alpha(alpha_data) sets the FaceVertexAlphaData property of all patch<br />

objects in the current axes. You can set alpha_data to:<br />

alpha<br />

• a matrix the same size as FaceVertexCData – sets the FaceVertexAlphaData<br />

property to the specified value<br />

• 'x' – set the FaceVertexAlphaData property to be the same as<br />

Vertices(:,1)<br />

• 'y' – set the FaceVertexAlphaData property to be the same as<br />

Vertices(:,2)<br />

• 'z' – set the FaceVertexAlphaData property to be the same as<br />

Vertices(:,3)<br />

• 'color' – set the FaceVertexAlphaData property to be the same as<br />

FaceVertexCData<br />

• 'rand' – set the FaceVertexAlphaData property to random values<br />

See Mapping Data to Transparency for more information.<br />

2-49

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

Saved successfully!

Ooh no, something went wrong!