Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: how to fix - subplot titles are overlapping
Date: Mon, 20 Aug 2007 00:10:12 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 16
Message-ID: <faam53$tg$1@fred.mathworks.com>
References: <faaicd$lll$1@fred.mathworks.com>
Reply-To: <HIDDEN>
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 1187568612 944 172.30.248.37 (20 Aug 2007 00:10:12 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 20 Aug 2007 00:10:12 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1030060
Xref: news.mathworks.com comp.soft-sys.matlab:424520



A solution I found was to remove this line from my code:

set(gca,'Ylim',[0 700]);

I'm sure there is something I don't understand, but at least
the titles don't overlap now.

"G.A.M. " <x0zero@gmail.com> wrote in message
<faaicd$lll$1@fred.mathworks.com>...
> I have a figure with multiple subplots. The figure is
> created in code in a m-file. The subplot titles overlap even
> after using:
> set(gca, 'ActivePositionProperty', 'outerposition'); 
> 
> What should I be doing to prevent the overlap? Thanks.