Adding a datacursor on s parameter plot at a specific frequency with a specific label
Afficher commentaires plus anciens
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!
Réponses (0)
Catégories
En savoir plus sur Visualization and Data Export dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!