You can use the axis
function in MATLAB to set the limits of the axes on a plot. If you want to set the limits of the x-axis to be [0, 8] and the y-axis to be [0, 3], you can write the following code:
main.m16 chars2 lines
This will set the limits of the current plot to be [0, 8] on the x-axis and [0, 3] on the y-axis.
gistlibby LogSnag