主要内容

plot

Display RF propagation data in Site Viewer

描述

阴谋(PD)displays propagation data in the current Site Viewer. Each data point is displayed as a circular marker that is colored according to the corresponding value.

example

阴谋(___,Name,Value)显示传播数据,其中包含名称值对参数指定的其他选项。

例子

全部收缩

启动曼哈顿的基地和构建文件的网站查看器。有关OSM文件的更多信息,请参阅[1]

viewer = siteviewer("Basemap",“ streets_dark”,。。。"Buildings","manhattan.osm");

Show a transmitter site on a building.

tx = txsite(“纬度”,40.7107,。。。"Longitude",-74.0114,。。。“天线”,80);显示(TX)

Create receiver sites along nearby streets.

latitude = [linspace(40.7088, 40.71416, 50),。。。linspace(40.71416,40.715505,25),。。。linspace(40.715505, 40.7133, 25),。。。linspace(40.7133,40.7143,25)]';经度= [linspace(-74.0108,-74.00627,50),。。。linspace(-74.00627 ,-74.0092, 25),。。。linspace(-74.0092, -74.0110, 25),。。。linspace(-74.0110,-74.0132,25)]';rxs = rxsite(“纬度”,纬度,"Longitude", longitude);

计算每个接收器位置的信号强度。

signalStrength = sigstrength(rxs, tx)';

创建一个propagationData对象保存计算的信号强度数据。

tbl = table(latitude, longitude, signalStrength); pd = propagationData(tbl);

Plot the signal strength data on a map as colored points.

legendtitle ="Signal"+ newline +"Strength"+ newline +“(D b)”;情节(PD,"LegendTitle", legendTitle,“ colormap”, parula);

Appendix

[1]The osm file is downloaded fromhttps://www.openstreetmap.org, which provides access to crowd-sourced map data all over the world. The data is licensed under the Open Data Commons Open Database License (ODbL),https://opendatacommons.org/licenses/odbl/

Input Arguments

全部收缩

Propagation data, specified as apropagationData目的。

Name-Value Arguments

将可选的参数对Name1=Value1,...,NameN=ValueN, whereNameis the argument name and价值是相应的值。名称值参数必须在其他参数之后出现,但是对的顺序并不重要。

Before R2021a, use commas to separate each name and value, and encloseNamein quotes.

例子:'Type','power'

数据变量绘制, specified as the comma-separated pair consisting of'DataVariableName'和character vector or a string scalar corresponding to a variable name in the data table used to create the propagation data container objectPD。The default value is dynamic and corresponds to theDataVariableName属性propagationData目的。

Data Types:char|string

绘图的价值类型,指定为逗号分隔对'Type'和one of the values in the类型柱子:

类型 ColorLimits LegendTitle
'custom' [最小(数据)最大(数据)] ''
'power' [-120 -5] “电力(DBM)”
'efield' [20 135] 'E-field (dBuV/m)'
'sinr' [-5 20] 'SINR (dB)'
'Pathloss' [45 160] 'Path loss (dB)'

的默认值Levelsis a linearly spaced vector bounded byColorLimits

Data Types:char|string

数据值级别绘制, specified as the comma-separated pair consisting of'Levels'和数字向量。传播数据是根据Levels。The data in each bin is color coded according to the corresponding level. The colors are selected using颜色if specified, or else结肠ColorLimits。该图中未包含低于最低级别的数据点。

的默认值Levelsis a linearly spaced vector bounded byColorLimits

Data Types:double

颜色of the data points, specified as the comma-separated pair consisting of'颜色'和nM-3 rgb(红色,蓝色,绿色)或字符串阵列或字符矢量阵列。将颜色分配给元素的值Levelsfor coloring the corresponding points. Colors cannot be used with结肠ColorLimits

Data Types:double|char|string

结肠for the coloring points, specified as the comma-separated pair consisting of'Colormap'还有一个预定义的colormap名称或M-3定义的RGB(红色,蓝色,绿色)三胞胎的by-3阵列Mindividual colors.结肠cannot be used with颜色

Data Types:double|char|string

菌落的颜色限制,指定为逗号分隔对'ColorLimits'和两元素向量of the form [min max]. The color limits indicate the data level values that map to the first and last colors in the colormap.ColorLimitscannot be used with颜色

Data Types:double

地图上绘制的数据标记的大小,指定为逗号分隔对“标记”和正数标量in pixels.

Data Types:double

在地图上显示彩色传奇, specified as the comma-separated pair consisting of'ShowLegend'真的或者false

Data Types:logical

Title of color legend, specified as the comma-separated pair consisting of'LegendTitle'和character vector or a string scalar.

Data Types:string|char

地表数据, specified as the comma-separated pair consisting of'地图'SiteViewer目的。1默认值是当前的站点查看器或新站点查看器,如果没有打开。

Data Types:char|string

Version History

Introduced in R2020a

See Also

|


1边界和区域标签的一致性是数据供应商提供的功能的介绍,并不意味着Mathworks认可®