Main Content

show

Description

show(player) makes the player figure visible again after closing or hiding it.

example

Examples

collapse all

Load point cloud.

ptCloud = pcread('teapot.ply');

Create the player and customize player axis labels.

player = pcplayer(ptCloud.XLimits,ptCloud.YLimits,ptCloud.ZLimits);

Figure Point Cloud Player contains an axes object. The axes object with xlabel X, ylabel Y contains an object of type scatter.

Hide figure.

hide(player)

Show figure.

show(player)
view(player,ptCloud);

Figure Point Cloud Player contains an axes object. The axes object with xlabel X, ylabel Y contains an object of type scatter.

Input Arguments

collapse all

Player for visualizing data streams, specified as a pcplayer or a vision.VideoPlayer object. Use this method to view the figure after you have removed it from display. For example, after you x-out of a figure and you want to view it again. This is particularly useful to use after a while loop that contains display code ends.

Version History

Introduced in R2015b