Back to Data Visualization
title
Add title to current chart
Syntax
title(str)
Description
Sets the title of the most recently created chart.
Parameters
| Name | Description |
|---|---|
| str | Title string |
Returns
null
Examples
Try It
>> plot([1 4 9 16]);
title('Squares')