Graphics    

XData and YData

The XData and YData properties control the coordinate system of the image. For an m-by-n image, the default XData is [1 n] and the default YData is [1 m]. These settings imply the following:

For example, the statements,

produce the picture.

The XData and YData properties of the resulting image object have the default values shown below.

However, you can override the default settings to specify your own coordinate system. For example, the statements,

produce the picture.


  CDataMapping EraseMode