ContentsIndexReferenceHome
PreviousUpNext
rotateticklabel
MATLAB
th = rotateticklabel(h,[rot],demo)
Description

Rotate x-axis tick labels by a specified angle. For long strings such as those produced by datetick, you may have to adjust the position of the axes so the labels don't get cut off.

Parameters
Parameters 
Description 
h [scalar] 
Handle to the axis that contains the x-tick labels that are to be rotated. 
rot [scalar] 
(Optional) Rotation angle to apply (deg). Defaults to 90. 
demo [char] 
String 'demo' to show a demo figure. 
Return Values
Return Values 
Description 
th [vector] 
Handles to the text objects created. 
Examples

>> th = rotateticklabel([],[],'demo') 

  • Show demo in a new figure window
 

Group
Made with Doc-O-Matic.
Copyright (c) 2009. All rights reserved.
What do you think about this topic? Send feedback!