Pages

Friday, August 28, 2009

实现xticklabel的旋转


function th=rotateticklabel(h,rot,demo)%ROTATETICKLABEL rotates tick labels%


x = round(rand(5,3)*10);
h=bar(x,1,'group');
set(gca,'xticklabels',{'benchmark1','benchmark2','benchmark3','benchmark4','benchmark5'});
h = gca;th=rotateticklabel(h, 45);

No comments:

 

Locations of visitors to this page

Web Counters
Cheap Hotel Rates