Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to set font size in axis tick labels?
Date: Thu, 21 Aug 2008 23:06:01 +0000 (UTC)
Organization: Battelle Energy Alliance (INL)
Lines: 8
Message-ID: <g8kscp$rvb$1@fred.mathworks.com>
References: <g8kll6$4e7$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1219359961 28651 172.30.248.35 (21 Aug 2008 23:06:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 21 Aug 2008 23:06:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 688530
Xref: news.mathworks.com comp.soft-sys.matlab:486756



The handles for the axis labels are stored in the 'xlabel'
property of the axes.

plot([1:10])
xlhand = get(gca,'xlabel')
set(xlhand,'string','X','fontsize',20)