Showing posts with label align. Show all posts
Showing posts with label align. Show all posts

Wednesday, 23 October 2013

How to rotate (or align) the labels in 3D plots?

1. The 'rot' attribute gives the access to rotate the labels. We need to know the angle by which we need to rotate.

xlabel('xMagic','rot', 14,'fontweight','bold','fontsize',12); 
ylabel('yMagic','rot', -20,'fontweight','bold','fontsize',12);