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 13:19:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 20
Message-ID: <h2af05$j31$1@fred.mathworks.com>
References: <h2a9ut$dmc$1@fred.mathworks.com> <4c72e071-b1c2-49f6-8a7b-cea8dff43651@y7g2000yqa.googlegroups.com> <h2ab6a$frb$1@fred.mathworks.com> <h2abqv$9v$1@fred.mathworks.com>
Reply-To: "Belen " <ahsghd@hjg.es>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1246281541 19553 172.30.248.38 (29 Jun 2009 13:19:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 29 Jun 2009 13:19:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1890883
Xref: news.mathworks.com comp.soft-sys.matlab:551400


Thank you very much US!! 
Belen


"us " <us@neurol.unizh.ch> wrote in message <h2abqv$9v$1@fred.mathworks.com>...
> "Belen " <ahsghd@hjg.es> wrote in message <h2ab6a$frb$1@fred.mathworks.com>...
> > Excuse me Rune but I still haven't found the way to do the following:
> > set(gca,'xtick',[0 31 59 90 120 151 181 212 243 273 304 334 365])
> > 0, 31, 28, etc. are julian days.
> > I'll be very grateful for any advice,
> > Belen
> 
> what's wrong with this perfect syntax?
> naturally, you have to PLOT/LINE/etc first - or - set the axis's xlim...
> otherwise, it does not show up...
> 
>      plot(1:370);
>      set(gca,'xtick',[0 31 59 90 120 151 181 212 243 273 304 334 365]);
> 
> us