[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Plot
From: |
Thomas D. Dean |
Subject: |
Plot |
Date: |
Thu, 30 Mar 2017 17:30:52 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
I have some 'treadmill' data, one heart rate reading per second for 20
minutes.
I can simulate this with:
T=[]; B=[];
for day=1:29
t1=day+(10+([1:1400]/60/60))/24;
t2=day+(16+([1:1520]/60/60))/24;
bmp1=(1+rand(size(t1)))*10+80;
bmp2=(1+rand(size(t2)))*10+83;
T=[T;t1';t2'];
B=[B;bmp1';bmp2'];
endfor;
## if I plot time vs bmp, I get all the bmp values in one vertical
## line with a line connecting to the next set of bmp values.
plot(T,B);
## plot with points demonstrates this:
plot(T,B,'.');
## I want the plot to look something like this:
plot(B);
Is there a simple way to accomplish this?
Tom Dean
- Re: Hash function doesn't work, (continued)
- Re: Hash function doesn't work, evansste, 2017/03/30
- Re: Hash function doesn't work, Thomas D. Dean, 2017/03/30
- Re: Hash function doesn't work, evansste, 2017/03/30
- Re: Hash function doesn't work, Thomas D. Dean, 2017/03/30
- Re: Hash function doesn't work, Mike Miller, 2017/03/30
- RE: Hash function doesn't work, Allen.Windhorn, 2017/03/31
- Re: Hash function doesn't work, Thomas D. Dean, 2017/03/30
- Re: Hash function doesn't work, Tatsuro MATSUOKA, 2017/03/30
- Re: Hash function doesn't work, evansste, 2017/03/30
- Re: Hash function doesn't work, Tatsuro MATSUOKA, 2017/03/30
- Plot,
Thomas D. Dean <=
- Re: Plot, Juan Pablo Carbajal, 2017/03/30
- Re: Plot, Thomas D. Dean, 2017/03/30
- Re: Plot, Kire Pudsje, 2017/03/31
- Re: Plot, Juan Pablo Carbajal, 2017/03/31
- Re: Plot, Thomas D. Dean, 2017/03/31
- Re: Plot, Thomas D. Dean, 2017/03/31
Re: Hash function doesn't work, Francesco Potortì, 2017/03/31
RE: Hash function doesn't work, Allen.Windhorn, 2017/03/30