Back to Data Visualization
xtickangle
Rotate x-axis tick labels
Syntax
xtickangle(angle)
Description
Sets the rotation angle (in degrees) for x-axis tick labels.
Parameters
| Name | Description |
|---|---|
| angle | Rotation angle in degrees |
Returns
null
Examples
Try It
>> bar([1 2 3]); xtickangle(45)