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!

Answers (0)

Asked:

Zee
on 24 Aug 2016

Community Treasure Hunt

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

Start Hunting!