
Using Basic Plotting Functions
followed by either axis square or axis equal turns the oval into a proper
circle:
axis auto normal
returns the axis scaling to its default automatic mode.
Setting Axis Visibility
You can use the axis command to make the a xis visible or invisible.
axis on
makes the axes v isible. This is the default.
axis off
makes the axes invisible.
Setting Grid Lines
The grid command toggles grid lines on and off. The statement
grid on
turns the grid lines on, and
grid off
turns them back off again.
For More Information See the axis and axes reference pages and “Axes
Properties” in the MATLAB Graphics documentation.
Adding Axis Labels and Titles
The xlabel, ylabel,andzlabel com mands add x-, y-, and z-axis labels. The
title commandaddsatitleatthetopofthefigureandthetext function
inserts text anywhere in the figure.
3-59
Comentários a estes Manuais