Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: all axis tick labels with the same digits
Date: Wed, 29 Jul 2009 11:14:01 +0000 (UTC)
Organization: The MathWorks Inc
Lines: 12
Message-ID: <h4patp$mu3$1@fred.mathworks.com>
References: <h4p9q8$bcu$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1248866041 23491 172.30.248.35 (29 Jul 2009 11:14:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 29 Jul 2009 11:14:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1597503
Xref: news.mathworks.com comp.soft-sys.matlab:559249


Hi Pietro, How about

x=[0 0.05 0.1 0.15 0.2];
y=3*x;
plot(x,y)
set(gca,'xticklabel',{'0.00' '0.05' '0.10' '0.15' '0.20'});

Wayne

"pietro " <bracardi82@email.it> wrote in message <h4p9q8$bcu$1@fred.mathworks.com>...
> How can i have axis tick labels with the same digit? instead [0 0.05 0.1 0.15 0.2] i would like [0.00 0.05 0.10 0.15 0.20] 
> thank you in advance