Draw a grid/heatmap on siteviewer

3 ビュー (過去 30 日間)
Isma Khan
Isma Khan 2022 年 1 月 19 日
回答済み: Midimistro 2023 年 3 月 13 日
I'm trying to draw a 2D grid on a 3d plot. The 3D plot is the siteviewer("SceneModel",mapFileName). However, if a try to plot anything that is not an rf object (rays, propagationmodel) it opens a new figure, and does not draw anything on that. Is there a way to draw a plot on the siteviewer window?

回答 (1 件)

Midimistro
Midimistro 2023 年 3 月 13 日
In order to plot anything on siteviewer, you need to use the propagationData data type or similar object. This means you minimally need the coordinates and value to plot, stored as an array list of sorts; minimum is location coordinates. Some example code is below:
siteviewer("Position",[10 10 1910 1080]);%creates the siteviewer instance
plot(pd, "LegendTitle", legendTitle, "Colormap", flip(decimap), "ColorLimits",[-150 0]);%plots the data on siteviewer using 2D markers
Where pd is a propagationData data set that contains lat/long/value (or X/Y/Value), legendTitle is the title of the scale, decimap is the color scale in decimal format, and colorLimits are the scale limits of your propagationData. propagationData does not need to have RF values, but must include lat and long.
Its also possible to map a 2D result onto a 3D geotiff plot using axis and surf, but that's outside of this questions focus.

カテゴリ

Help Center および File ExchangePropagation and Channel Models についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by