surf(X,Y,Z,C)
allows you to specify the x and y range of your data as the first two arguments (there is a version without the C too if you don't have colour data to explicitly define).
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!