plot in matlab app design siteviewer
Show older comments
I am creating a propagationData in order to plot it in the siteviewer, in order to see the calculated radar coverage. I can easily do this when I'm not in app design. Is it possible to make this plot?
this is the part of the code that does this. It is not producing any results because it does not understand that it should plot in the siteviewer.
tabelData =table(Latitude,Longitude,Power);
Den_potenc = propagationData(tabelData);
plot(Den_potenc,'MarkerSize',5,"LegendTitle",legendTitle);
Answers (1)
Cris LaPierre
on 23 May 2023
Edited: Cris LaPierre
on 23 May 2023
In App Designer, you need to designate the target axes. I think the equivalent code should look something like this (untested).
plot(app.UIAxaes,Den_potenc,'MarkerSize',5);
lgd = legend(app.UIAxes);
title(lgd,'legendTitle')
Categories
Find more on Propagation and Channel Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!