Next: Multiple Plots on One Page, Previous: Three-Dimensional Plotting, Up: Plotting
For two-dimensional plotting, force the display of a grid on the plot. The argument may be either
"on"
or"off"
. If it is omitted, the the current grid state is toggled.If arg is
"minor"
then the minor grid is toggled. When using a minor grid a second argument arg2 is allowed, which can be either"on"
or"off"
to explicitly set the state of the minor grid, or alternatively a positive integer specifying the number of minor grid lines.See also: plot, semilogx, semilogy, loglog, polar, mesh, contour, bar, stairs, replot, xlabel, ylabel, title.
Specify a title for a plot.
See also: plot, semilogx, semilogy, loglog, polar, mesh, contour, bar, stairs, replot, xlabel, ylabel.
Specify x, y, and z axis labels for the plot. If you already have a plot displayed, use the command
replot
to redisplay it with the new labels.See also: plot, semilogx, semilogy, loglog, polar, mesh, contour, bar, stairs, replot, ylabel, title.