comp.soft-sys.matlab
[Top] [All Lists]

Re: Rotation of xticklabel

Subject: Re: Rotation of xticklabel
From: Julie
Date: Fri, 30 Sep 2005 09:12:00 -0400
Newsgroups: comp.soft-sys.matlab
Thanks!

PB wrote:
>
>
> Julie Meng wrote:
>>
>>
>> Hello All,
>>
>> I'm using following code to set xtick and I want the ticklabel
to
>> be
>> vertical, anybody can help? ?
>> set(gca,'xticklabel',datestr(x,'mmm dd yyyy'));
>>
>> I tried
>> set(gca,'xticklabel',datestr(x,'mmm dd yyyy'),'rotation', 90)
>> but doesn't work. :(
>
> Hi Julie!
>
> Take a look at Denis Gilberts XTICKLABEL_ROTATE90, available here:
>
> <http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=3150&objectType=file>
>
> HTH
>
> PB

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy