Adding a datacursor on s parameter plot at a specific frequency with a specific label

Hi,
I have a question on how to add a datacursor on a s parameter plot at a specific frequency for both the curves in the plot. The value of the frequency is fixed e.g. 5 GHz
data = read(rfdata.data,''); data2 = read(rfdata.data,''); freq = data.Freq; freq2 = data.Freq; figure hold off; h = plot(data,'S12', 'db'); set(h, 'Color', [1 0 0]); hold on h = plot(data2,'S12', 'db') set(h, 'Color', [0 0 1]); hold on
Thanks for the help!

답변 (0개)

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

태그

질문:

Zee
2016년 8월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by