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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!