Main Content

hide

Hide site from Site Viewer

Description

hide(site) hides the location of the specified antenna site from the current Site Viewer.

example

hide(site,Map=map) specifies the map to use when hiding the site.

example

Examples

collapse all

Create and show a transmitter site.

tx = txsite('Name','MathWorks Apple Hill',...
       'Latitude',42.3001, ...
       'Longitude',-71.3504);
show(tx)

Hide the transmitter site.

hide(tx)

Import and view an STL file. The file models a small conference room with one table and four chairs.

viewer = siteviewer('SceneModel','conferenceroom.stl');

Create a transmitter site near the upper corner of the room and a receiver site above the table. Specify the position using Cartesian coordinates in meters. Then, visualize the sites.

tx = txsite('cartesian', ...
    'AntennaPosition',[-1.46; -1.42; 2.1]);
rx = rxsite('cartesian', ...
    'AntennaPosition',[0.3; 0.3; 0.85]);

show(tx)
show(rx)

Pan by left-clicking, zoom by right-clicking or by using the scroll wheel, and rotate the visualization by clicking the middle button and dragging or by pressing Ctrl and left-clicking and dragging.

Hide the sites.

hide(tx)
hide(rx)

Input Arguments

collapse all

Transmitter or receiver site, specified as a txsite or rxsite object or an array of txsite or rxsite objects.

Map for visualization of surface data, specified as a siteviewer object.1

Data Types: char | string

Version History

Introduced in R2017b

See Also

Functions


1 Alignment of boundaries and region labels are a presentation of the feature provided by the data vendors and do not imply endorsement by MathWorks®.