|
On 3 Sep., 18:36, Walter Roberson <rober...@hushmail.com> wrote:
> 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
Hi.
Another way might be to set the major tick to the minor tick positions
you want, to have a controllable tick, and label only the major
ticks.
Heiko
|