Path: news.mathworks.com!not-for-mail
From: "Belen " <ahsghd@hjg.es>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Axes ticks irregular spacing
Date: Mon, 29 Jun 2009 12:02:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 14
Message-ID: <h2aafp$mgk$1@fred.mathworks.com>
References: <h2a9ut$dmc$1@fred.mathworks.com> <4c72e071-b1c2-49f6-8a7b-cea8dff43651@y7g2000yqa.googlegroups.com>
Reply-To: "Belen " <ahsghd@hjg.es>
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 1246276921 23060 172.30.248.35 (29 Jun 2009 12:02:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 29 Jun 2009 12:02:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1890883
Xref: news.mathworks.com comp.soft-sys.matlab:551373


Thank you so much Rune,
Belen

Rune Allnor <allnor@tele.ntnu.no> wrote in message <4c72e071-b1c2-49f6-8a7b-cea8dff43651@y7g2000yqa.googlegroups.com>...
> On 29 Jun, 13:53, "dage Tarari" <ahs...@hjg.es> wrote:
> > Hi all,
> >
> > I wonder if it is possible to create X axis ticks with non-monotonically increasing values.
> 
> Of course it is. Try:
> 
> set(gca,'xtick',(0:0.2:1).^2)
> 
> Rune