www.gusucode.com > map 案例源码 matlab代码程序 > map/ConstructRasterReferencingObjectSpecifyingLimitsExample.m
%% Construct Raster Referencing Object Specifying Limits % %% % Construct a referencing object for an 1000-by-2000 image with square, % half-meter pixels referenced to a planar map coordinate system (the % "world" system). The _X_-limits in the world system are 207000 and % 208000. The _Y_-limits are 912500 and 913000. The image follows the % popular convention in which world _X_ increases from column to column and % world _Y_ decreases from row to row. R = maprasterref('RasterSize', [1000 2000], ... 'YWorldLimits', [912500 913000], 'ColumnsStartFrom','north', ... 'XWorldLimits', [207000 208000])