From: Erik L on
Hello,

I want to increase the number of step on y-axes of my bar graph.

Currently, it is 0,100,200,......1000) i-e 100 step on y-axes by default.

I want to see some changes which is not abserved on this wide scale. Is there some way to define more step like (0-20-40.....1000)


thanks

Erik L
From: Steven Lord on

"Erik L" <lookgrn(a)gmail.com> wrote in message
news:huj9kt$bmt$1(a)fred.mathworks.com...
> Hello,
>
> I want to increase the number of step on y-axes of my bar graph.
>
> Currently, it is 0,100,200,......1000) i-e 100 step on y-axes by default.
>
> I want to see some changes which is not abserved on this wide scale. Is
> there some way to define more step like (0-20-40.....1000)

Use SET to set the YTick (and perhaps YTickLabel) properties.

http://www.mathworks.com/access/helpdesk/help/techdoc/ref/axes_props.html#XTick

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com


From: Walter Roberson on
Steven Lord wrote:
> "Erik L" <lookgrn(a)gmail.com> wrote in message
> news:huj9kt$bmt$1(a)fred.mathworks.com...

>> I want to increase the number of step on y-axes of my bar graph.

>> Currently, it is 0,100,200,......1000) i-e 100 step on y-axes by default.

>> I want to see some changes which is not abserved on this wide scale. Is
>> there some way to define more step like (0-20-40.....1000)

> Use SET to set the YTick (and perhaps YTickLabel) properties.

Notice, though, that Erik is hoping to be able to see some changes "which is
not observed on this wide scale", and changing the ticks will not change the
plot. Erik will either have to use a larger plotting area or zoom in on the
area he is interested in, perhaps by settting the YLim property of the axes.
From: Erik L on
Steven: Thanks alot. It definitly served the purpose.

Cheerz
Erik L.


"Steven Lord" <slord(a)mathworks.com> wrote in message <huj9uu$2v4$1(a)fred.mathworks.com>...
>
> "Erik L" <lookgrn(a)gmail.com> wrote in message
> news:huj9kt$bmt$1(a)fred.mathworks.com...
> > Hello,
> >
> > I want to increase the number of step on y-axes of my bar graph.
> >
> > Currently, it is 0,100,200,......1000) i-e 100 step on y-axes by default.
> >
> > I want to see some changes which is not abserved on this wide scale. Is
> > there some way to define more step like (0-20-40.....1000)
>
> Use SET to set the YTick (and perhaps YTickLabel) properties.
>
> http://www.mathworks.com/access/helpdesk/help/techdoc/ref/axes_props.html#XTick
>
> --
> Steve Lord
> slord(a)mathworks.com
> comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com
>