plot
说明
plot( 指定高精地图的附加名称-值对参数。rrMap,Name=Value)
示例
通过调用 roadrunnerHDMap 对象创建一个空的 RoadRunner 高清地图。
rrMap = roadrunnerHDMap;
指定要读取的二进制文件的名称。使用 read 函数读取参数 filename 指定的文件。
filename = "C:\RR\MyProject\Scenes\MyMap.rrhd";
read(rrMap,filename)
rrMaprrMap =
roadrunnerHDMap with properties:
Author: "Map Author"
Projection: ""
GeographicBoundary: [2×3 double]
Lanes: [0×1 roadrunner.hdmap.Lane]
LaneBoundaries: [0×1 roadrunner.hdmap.LaneBoundary]
LaneGroups: [0×1 roadrunner.hdmap.LaneGroup]
LaneMarkings: [0×1 roadrunner.hdmap.LaneMarking]
Junctions: [0×1 roadrunner.hdmap.Junction]
BarrierTypes: [0×1 roadrunner.hdmap.BarrierType]
Barriers: [0×1 roadrunner.hdmap.Barrier]
SignTypes: [0×1 roadrunner.hdmap.SignType]
Signs: [0×1 roadrunner.hdmap.Sign]
绘制地图。
plot(rrMap)

输入参数
RoadRunner 高清地图道路数据模型,指定为 roadrunnerHDMap 对象。rrMap 定义了一个简单的数据结构,使用车道、车道边界、车道标记和交叉口来表示道路布局。该对象提供支持读取、写入和绘制高精地图数据的功能。
名称-值参数
将可选参量对组指定为 Name1=Value1,...,NameN=ValueN,其中 Name 是参量名称,Value 是对应的值。名称-值参量必须出现在其他参量之后,但对各个参量对组的顺序没有要求。
示例:
axes 对象的句柄,指定为包含绘图的句柄对象。如果未指定此属性,则 plot 函数会生成一个新图窗。
在图中显示车道组中心,指定为 logical 0 (false) 或 logical 1 (true)。如果将 ShowLaneGroups 设置为 true,则 plot 函数会在图中显示车道组中心。
显示图中的隔离物中心,指定为 logical 0 (false) 或 logical 1 (true)。如果将 ShowBarriers 设置为 true,则 plot 函数会在图中显示隔离物中心。
在图中显示标志,指定为 logical 0 (false) 或 logical 1 (true)。如果将 ShowSigns 设置为 true,则 plot 函数会在图中显示标志。
在图中显示静态目标,指定为 logical 0 (false) 或 logical 1 (true)。如果将 ShowStaticObjects 设置为 true,则 plot 函数将显示图中的静态目标。
在图中显示图例,指定为 logical 1 (true) 或 logical 0 (false)。如果将 ShowLegend 设置为 false,则 plot 函数不会显示绘图的图例。当指定 Parent 名称-值参数时,不显示图例。
在图中显示线标记,指定为 logical 1 (true) 或 logical 0 (false)。如果将 ShowLineMarkers 设置为 true,则 plot 函数将显示绘图的线标记。
版本历史记录
在 R2022b 中推出
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)