Path: news.mathworks.com!not-for-mail
From: "Haijun Gong" <gongxy@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: help! question about plot
Date: Tue, 14 Aug 2007 19:45:41 +0000 (UTC)
Organization: CMU
Lines: 23
Message-ID: <f9t0p5$kks$1@fred.mathworks.com>
References: <f9g7rs$k9f$1@fred.mathworks.com> <f9g9do$9j1$1@fred.mathworks.com>
Reply-To: "Haijun Gong" <gongxy@gmail.com>
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 1187120741 21148 172.30.248.37 (14 Aug 2007 19:45:41 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 14 Aug 2007 19:45:41 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1077572
Xref: news.mathworks.com comp.soft-sys.matlab:423929


It still does not solve this problem,


"us " <us@neurol.unizh.ch> wrote in message <f9g9do$9j1
$1@fred.mathworks.com>...
> Haijun Gong:
> <SNIP wants to partition his/her plot
> 
> one of the copious solutions
> 
> % the data
>      t=1:10; % let's be a bit more modest...
>      y=rand(size(t));
>      e1=1:4; % epoch 1
>      e2=6:10; % epoch 2: note gap
> % the engine
>      line(t(e1),-1+.1*y(e1),...
>          'marker','o','color',[1,0,0]);
>      line(t(e2),1+2*y(e2),...
>          'marker','s','color',[0,1,0]);
> 
> us