A question about the appearance of a plot's x-axis.
I have a plot whose domain is [0 4]. I can plot this and have xlim([0 4]). When I do this, the plot has x-increments labeled 0, 1, 2, 3, 4, as you would expect.
Is there any way to remove '0' and '4' from being named? In other words, is there a way to make the plot look the same as before, that is, have the same xlimit, but remove '0' and '4' such that it only says '1', '2', '3'?
The application is plotting mode shapes.