From: kbr on
Hello,
I'm trying to make a histogram where the x axis ranges from -10 to 10. Given the dataset, MATLAB automatically sets the x axis range to -8 to 10. Can anyone explain how to change it to -10 to 10?
I didn't have any luck with xlim([-10,10])
Thanks!
b
From: us on
"kbr" <karlruff(a)yahoo.com> wrote in message <i05skh$3lq$1(a)fred.mathworks.com>...
> Hello,
> I'm trying to make a histogram where the x axis ranges from -10 to 10. Given the dataset, MATLAB automatically sets the x axis range to -8 to 10. Can anyone explain how to change it to -10 to 10?
> I didn't have any luck with xlim([-10,10])
> Thanks!
> b

show some ML code...

us
From: kbr on
"us " <us(a)neurol.unizh.ch> wrote in message <i05tm8$al2$1(a)fred.mathworks.com>...
> "kbr" <karlruff(a)yahoo.com> wrote in message <i05skh$3lq$1(a)fred.mathworks.com>...
> > Hello,
> > I'm trying to make a histogram where the x axis ranges from -10 to 10. Given the dataset, MATLAB automatically sets the x axis range to -8 to 10. Can anyone explain how to change it to -10 to 10?
> > I didn't have any luck with xlim([-10,10])
> > Thanks!
> > b
>
> show some ML code...
>
> us

I got it working. Thanks!