Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Wrap a plot?
Date: Wed, 4 Jun 2008 19:09:02 +0000 (UTC)
Organization: Universit&#228;tsSpital Z&#252;rich
Lines: 18
Message-ID: <g26p8e$he9$1@fred.mathworks.com>
References: <g26n8u$mhd$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1212606542 17865 172.30.248.37 (4 Jun 2008 19:09:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 4 Jun 2008 19:09:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 11
Xref: news.mathworks.com comp.soft-sys.matlab:472214



"David Doria":
<SNIP axis acrobatics...

one of the solutions

% the data
     x=0:45:360;
     y=x+25*(rand(size(x))-.5);
     xc=270;
% the plot
     ix=find(x>=xc,1,'first'); % FP issues
     ix=[ix:numel(x),1:ix-1];
     plot(x,y(ix),'o-r');
     set(gca,...
        'xtick',x,...
        'xticklabel',x(ix));

us