Using MATLAB Graphics     Search    Help Desk 

Labeling Graphs


This topic area provides information on commands that enable you to label your graph.

Graph Labeling Commands

MATLAB provides commands to label each axis and place text at arbitrary locations on the graph. These commands include those displayed here.

Command
Purpose
title
Adds a title to the graph
xlabel
Adds a label to the x-axis
ylabel
Adds a label to the y-axis
zlabel
Adds a label to the z-axis
legend
Adds a legend to an existing graph
text
Displays a text string at a specified location
gtext
Places text on the graph using the mouse



[ Previous | Help Desk | Next ]