This page documents how to do some non-obvious things with Matlab.
The instructions below have been tested with Matlab 7.5 .
When drawing a graph, to set your axis graduation, draw your graph and run:
set (gca, 'XTick', [-2:2])
replacing [-2:2] by the values you want on your X-axis.
To set your axis name, run:
xlabel ('x')
replacing 'x' with your X-axis name.