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.

Image Propertieselements in XData and YData. Element CData(m,n) is centered over thecoordinate defined by the last elements in XData and YData. The centers of theremaining elements of CData are evenly distributed between those two points.The width of each CData element is determined by the expression:(XData(2)-XData(1))/(size(CData,2)-1)You can also specify a single value for XData. In this case, image centers thefirst element at this coordinate and centers each following element one unitapart.YData[1 size(CData,1)] by defaultControl placement of image along y-axis. A vector specifying the locations of thecenters of the elements CData(1,1) and CData(m,n), where CData has a size ofm-by-n. Element CData(1,1) is centered over the coordinate defined by the firstelements in XData and YData. Element CData(m,n) is centered over thecoordinate defined by the last elements in XData and YData. The centers of theremaining elements of CData are evenly distributed between those two points.The height of each CData element is determined by the expression:(YData(2)-YData(1))/(size(CData,1)-1)You can also specify a single value for YData. In this case, image centers thefirst element at this coordinate and centers each following elements one unitapart.See Alsocolormap, imfinfo, imread, imwrite, pcolor, newplot, surfaceThe Image chapter the Using <strong>MATLAB</strong> <strong>Graphics</strong> manual2-242

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

Saved successfully!

Ooh no, something went wrong!