Next: , Previous: Three-Dimensional Plotting, Up: Plotting


17.4 Plot Annotations

— Function File: grid (arg)
— Function File: grid ("minor", arg2)

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.

— Function File: title (string)

Specify a title for a plot.

     
     
See also: plot, semilogx, semilogy, loglog, polar, mesh, contour, bar, stairs, replot, xlabel, ylabel.

— Function File: xlabel (string)
— Function File: ylabel (string)
— Function File: zlabel (string)

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.

— Function File: top_title (string)
— Function File: bottom_title (string)

Makes a title with text string at the top (bottom) of the plot.