Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: R2009a: Setting GridLines Color Different to Axis Color...
Date: Thu, 25 Jun 2009 16:45:03 +0000 (UTC)
Organization: MSU
Lines: 36
Message-ID: <h209if$f7g$1@fred.mathworks.com>
References: <h1tnhe$ljl$1@fred.mathworks.com> <98cffd5e-6e2b-4353-9e1d-dfebbcd368d3@q3g2000pra.googlegroups.com> <d90c7cfc-d37d-4e34-b215-dee128a2c437@y4g2000prf.googlegroups.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1245948303 15600 172.30.248.38 (25 Jun 2009 16:45:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 25 Jun 2009 16:45:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 604883
Xref: news.mathworks.com comp.soft-sys.matlab:550644


Nathan <ngreco32@gmail.com> wrote in message <d90c7cfc-d37d-4e34-b215-dee128a2c437@y4g2000prf.googlegroups.com>...
> On Jun 24, 3:27?pm, Nathan <ngrec...@gmail.com> wrote:
> > On Jun 24, 10:25?am, "Andrey Kazak" <A...@nospam.ru> wrote:
> >
> > > Greetings!
> >
> > > I've read the bulletin:http://www.mathworks.com/support/solutions/data/1-1PAYMC.html?solutio...)
> >
> > > and it states: "... This enhancement has been incorporated in Release 2008a (R2008a)."
> > > What is it?
> >
> > > Could you help me to figure out the way to set GridLines Color different to Axis Color please?
> >
> > Did you not read the whole bulletin?...
> > Try this.
> > c_axes = copyobj(gca,gcf);
> > set(c_axes, 'color', 'r', 'xcolor', 'y', 'xgrid', 'off', 'ycolor','b',
> > 'ygrid','off');
> >
> > -Nathan
> 
> Oops, left off a part.
> 
> ezplot('x')
> grid on
> set(gca,'Xcolor','r')
> c_axes = copyobj(gca,gcf);
> set(c_axes, 'color', 'none', 'xcolor', 'y', 'xgrid', 'off',
> 'ycolor','b', 'ygrid','off');
> 
> Play with that and get the colors you want.
> -Nathan

Thank you, Nathan!

Of course I've seen this information, but what is the "enhancement" method mentioned in the bulletin?