Q:

Translate the contourplot in 2d space

I work with data stored in 3D matrix D. To visualized it, I plot a slice:
figure
contourslice(D,[],[],[15],10);
view(3);
axis tight

I know that the data stored in matrix is a single period of periodic data. Here I need a trick: having that slice, how could I translate it in 2D space up to several periods to see periodic structure of the data?
Say I have a slice of a shape [A], but I need:
[A][A][A]
[A][A][A]
[A][A][A]

Is it possible to do during plotting phase, not touching actual data?

A:

Assuming that you have the image processing toolbox, one simple way of visualizing the data in that manner would be using the repmat and montage functions.
Say you are interested in tiling slice 15 of D:
montage(repmat(D(:,:,15),[1 1 1 9]));
Alternately, you can just do
imagesc(repmat(D(:,:,15),[3 3]));

