Path: news.mathworks.com!newsfeed-00.mathworks.com!news.kjsl.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!flpi089.ffdc.sbc.com!prodigy.net!pd7cy1no!pd7cy2no!shaw.ca!pd7urf2no.POSTED!53ab2750!not-for-mail
X-Trace-PostClient-IP: 24.79.146.116
From: Walter Roberson <roberson@hushmail.com>
Organization: Canada Eat The Cookie Foundation
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
Newsgroups: comp.soft-sys.matlab
Subject: Re: how to add a minor grid in a graph in matlab
References: <10140877.1220443530571.JavaMail.jakarta@nitrogen.mathforum.org>
In-Reply-To: <10140877.1220443530571.JavaMail.jakarta@nitrogen.mathforum.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 21
Message-ID: <Q1zvk.245510$gc5.129263@pd7urf2no>
Date: Wed, 03 Sep 2008 16:36:00 GMT
NNTP-Posting-Host: 24.66.94.143
X-Complaints-To: abuse@shaw.ca
X-Trace: pd7urf2no 1220459760 24.66.94.143 (Wed, 03 Sep 2008 10:36:00 MDT)
NNTP-Posting-Date: Wed, 03 Sep 2008 10:36:00 MDT
Xref: news.mathworks.com comp.soft-sys.matlab:488435



stellakr08 wrote:
> Hello I want to add minor grid in matlab but with the step i want and i dont 
> know the command. For example my ticks is from 0 to 400 and the step is 50 so 
> the grid start with a step of 50 but i would like to have minor grid with a step 
> of 25...how can i do that...Can someone inform me please?

You can use

grid minor

to turn on the minor grid, but Matlab does not supply any axes property to
allow you to control the spacing explicitly: it always automatically determines
the spacing it will use for the minor grid lines.

There might perhaps be a Matlab File Exchange (FEX) contribution that would
assist in this?

-- 
Q = quotation(rand);
if isempty(Q); error('Quotation server filesystem problems')
else sprintf('%s',Q), end