Path: news.mathworks.com!not-for-mail
From: "Sadik " <sadik.hava@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: alternating background plot color
Date: Wed, 23 Mar 2011 03:19:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 8
Message-ID: <imbor8$34p$1@fred.mathworks.com>
References: <imbli8$cr6$1@fred.mathworks.com> <imbltg$i2c$1@fred.mathworks.com> <imbnlp$evl$1@fred.mathworks.com>
Reply-To: "Sadik " <sadik.hava@gmail.com>
NNTP-Posting-Host: www-01-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1300850344 3225 172.30.248.46 (23 Mar 2011 03:19:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 23 Mar 2011 03:19:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1666517
Xref: news.mathworks.com comp.soft-sys.matlab:717551

Then you could do:

h = patch( ...
 set(h,'FaceAlpha',0.5); 

to make it a bit transparent. Now you should be able to see the grid lines.

Best.