how to plot vertical dotted line ??

11 visualizaciones (últimos 30 días)
Good mind
Good mind el 16 de Oct. de 2017
Comentada: Good mind el 17 de Oct. de 2017
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');

Respuesta aceptada

Ahmed raafat
Ahmed raafat el 16 de Oct. de 2017
x=your_value*ones(1,length_of_y);
plot(x,y)
  3 comentarios
Ahmed raafat
Ahmed raafat el 17 de Oct. de 2017
plot(x,y,'.')
Good mind
Good mind el 17 de Oct. de 2017
salam ahmed,thank you

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Colormaps en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by