how to plot vertical dotted line ??

조회 수: 10 (최근 30일)
Good mind
Good mind 2017년 10월 16일
댓글: Good mind 2017년 10월 17일
i want plot vertical dotted line on the same figure(scale 25), at samples: 180 and 220 the length of my ecg is 2000??
load ecg.m;
subplot(221);
plot(ecg); title ('ECG');
xlabel('samples'); ylabel('magnitude');
fs=360;
subplot(222)
CWTcoeffs = cwt(ecg,20:55,'sym4','plot');
colormap jet; colorbar;
subplot(223);
qrs_thr_end=220;
qrs_thr_on=180;
plot(CWTcoeffs(25,:)); title('Scale 25');

채택된 답변

Ahmed raafat
Ahmed raafat 2017년 10월 16일
x=your_value*ones(1,length_of_y);
plot(x,y)
  댓글 수: 3
Ahmed raafat
Ahmed raafat 2017년 10월 17일
plot(x,y,'.')
Good mind
Good mind 2017년 10월 17일
salam ahmed,thank you

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Colormaps에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by