axis
Plotting
Set axis limits for the current plot.
Syntax
axis([xmin, xmax, ymin, ymax])
Examples
plot(sin(linspace(0, 2*pi, 100))); axis([0, 100, -1.5, 1.5])▶ Run
See Also
Try SimLab — Free MATLAB® Alternative
466 functions. Runs in your browser. No install.
Open SimLab