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