next up previous
Next: Reading and writing external Up: Waves Previous: Plots of functions

Dressing up your plots

It is easy to add titles and axes labels to your plots. To add a title use the command

title('This is a very important graph.')

Note that MATLAB uses single quotation marks to enclose the text.

To add labels to the x and y axes use

xlabel('x') and ylabel('y').

There are many more graphics features described in the MATLAB student guide.

Tue Feb 25 21:24:33 EST 1997