How to limit y-axis of eye-diagram?

2 visualizaciones (últimos 30 días)
Faheem Ur Rehman
Faheem Ur Rehman el 12 de Oct. de 2021
Respondida: Image Analyst el 12 de Oct. de 2021
I have attached the image in which i don't need whole plot but only the signal areas.
x = load (['frame_snr30256QAM' num2str(i) '.mat']);
sps = 8;
eyediagram(abs(x.frame),sps)
%set(get(gcf, 'Children'), 'Visible', 'off')
ylim([2 0])
error
Error using ylim (line 31)
Limits must be a 2-element vector of increasing numeric values.

Respuestas (1)

Image Analyst
Image Analyst el 12 de Oct. de 2021
[2 0] is not "increasing numeric values". Try
ylim([0, 2]);

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by