だから、私が理解している限り、この質問はフィッティングとは何の関係もありませんが、表面に画像を配置する方法についてですか?
あなたは「背景」と言っていますが、軸または表面のどちらを意味するのかはわかりませんが、これはどちらの方法でも機能するはずです (前者には z=0 の追加の表面が必要であることを除いて):
% make dummy test data
N = 60;
X = 1:N;
Y = 1:N;
[X, Y] = meshgrid(X,Y);
Z = X - X.^2 + Y.^2 + randn(N,N)*10;
% read jpg and make same size as grid
im = imread('yourimage.jpg');
% convert image to indexed colours
[im, map] = rgb2ind(im, 256);
% make figure
figure(1), clf
% make image same size as grid
subimage = im(1:N,1:N);
colormap(map)
% plot surf and use image as texture
s = surf(X,Y,Z);
set(s, 'faceColor', 'texture',...
'edgecolor', 'none',...
'cdata', subimage)
そうですか?