Change position of numbers on x axes in surface plot
4 views (last 30 days)
Hi. I plot a surface plot and the numbers in the xaxis match the lines that go through the surface. Is there any way to get the numbers to be inline with the middle of the squares instead of inline with the lines in the surface plot?
So I would like to move all numbers on x-axis with say half a step, the same for y-axis.
Is this possible to do?
Greateful for all help!
Kind Regards, Fredrik
Kevin Holst on 23 Mar 2012
Perhaps something like this would work for you?
grid off %this prevents the addition of gridlines at half spacing
ha = gca
Does that do what you're wanting?