From: Nguyen Le Hoa on
Hi all,

I have a figure with x-axis ranges from 0.068295 to 0.068327. How can I display these value in the x-axis with the precision of 0.000001 instead of 0.0001?

Thank you for your help.
From: us on
"Nguyen Le Hoa" <nguyenlehoastc(a)yahoo.com> wrote in message <hsk0ct$bsd$1(a)fred.mathworks.com>...
> Hi all,
>
> I have a figure with x-axis ranges from 0.068295 to 0.068327. How can I display these value in the x-axis with the precision of 0.000001 instead of 0.0001?
>
> Thank you for your help.

one of the many solutions

plot(1:10);
xt=get(gca,'xtick');
xtl=xt./10;
set(gca,'xticklabel',xtl);

us
From: Nguyen Le Hoa on
"us " <us(a)neurol.unizh.ch> wrote in message <hsk0to$hd0$1(a)fred.mathworks.com>...
> "Nguyen Le Hoa" <nguyenlehoastc(a)yahoo.com> wrote in message <hsk0ct$bsd$1(a)fred.mathworks.com>...
> > Hi all,
> >
> > I have a figure with x-axis ranges from 0.068295 to 0.068327. How can I display these value in the x-axis with the precision of 0.000001 instead of 0.0001?
> >
> > Thank you for your help.
>
> one of the many solutions
>
> plot(1:10);
> xt=get(gca,'xtick');
> xtl=xt./10;
> set(gca,'xticklabel',xtl);
>
> us
Great! thank you very much
I got the solution.