# How to shift function (like RotateRight) in the y direction?

I'd like to shift my graph so the periodogram is centered.

I was able to rotate the original using Rotate Right, but now I can't shift the graph in the y dimension.

ListPlot3D[RotateRight[PDG01, Round[dm/2]]]


• Also, try ListPlot3D[ list , PlotRegion->All] to prevent the plot from cutting off some values. – Kagaratsch May 5 '19 at 16:38

rotateX=RotateRight[PDG01, Round[dm/2]];

Since your x- and y-dimensions are of different length, you'll have to adjust the Round[dm/2] value during y-rotation appropriately.