Path: news.mathworks.com!not-for-mail
From: "Paul Premakumar" <ppremaku@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: XTickLabel
Date: Fri, 9 May 2008 17:38:02 +0000 (UTC)
Organization: The MathWorks Inc
Lines: 31
Message-ID: <g0225q$84s$1@fred.mathworks.com>
References: <g01chv$5s8$1@fred.mathworks.com>
Reply-To: "Paul Premakumar" <ppremaku@mathworks.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1210354682 8348 172.30.248.37 (9 May 2008 17:38:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 9 May 2008 17:38:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 792766
Xref: news.mathworks.com comp.soft-sys.matlab:467627


"carmelo " <km.nospam.scriba.nospam@yahoo.esnospam> wrote in
message <g01chv$5s8$1@fred.mathworks.com>...
> Hello all,
> 
> i am working on a plot with 9 subplots.
> I have 7 data points and i am replacing the XTickLabels 
> (day of the year) by day/month (dd/mm format).
> the problem is that a couple of measurements were done 
> very close in time and their labels overlap.
> I tried to adjust the size of the font, but i have to use 
> 6 or smaller if i do not want the labels to overlap. this 
> text size is too small.
> 
> any suggestions?
> 
> PS: is it possible to write the tick labels in 2 rows so 
> that i can alternate the text betwen the upper and the 
> lower rows.

Hi,

 You might want to replace your Tick Labels with Text
objects. These give you more control over the formatting,
size and style.

You may want to consider the following submission:
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=15986

Regards,
Paul