plot
Plot view set views and connections
Description
plot(
plots the views and connections
in the view set, vSet
)vSet
.
plot(
specifies options using one or more name-value pair arguments.vSet
,Name,Value
)
Examples
Plot View Set View Identifiers
Create an empty image view set.
vSet = imageviewset;
Define three relative poses.
relPoses = repelem(rigid3d,3,1); relPoses(1).Translation = [3 0 0]; relPoses(2).Translation = [5 0 0]; relPoses(3).Translation = [2 0 0];
Calculate and add absolute poses.
absPoses = repelem(rigid3d,4,1); absPoses(2).T = relPoses(1).T*absPoses(1).T; absPoses(3).T = relPoses(2).T*absPoses(2).T; absPoses(4).T = relPoses(3).T*absPoses(3).T;
Add four views to the image view set.
vSet = addView(vSet,1,absPoses(1)); vSet = addView(vSet,2,absPoses(2)); vSet = addView(vSet,3,absPoses(3)); vSet = addView(vSet,4,absPoses(4));
Add connections between the added views.
vSet = addConnection(vSet,1,2,relPoses(1)); vSet = addConnection(vSet,2,3,relPoses(2)); vSet = addConnection(vSet,3,4,relPoses(3));
Plot the view set with view identifers.
plot(vSet,'ShowViewIds','on')
Input Arguments
vSet
— Image view set
pcviewset
object
Image view set, specified as a imageviewset
object.
Name-Value Arguments
Specify optional pairs of arguments as
Name1=Value1,...,NameN=ValueN
, where Name
is
the argument name and Value
is the corresponding value.
Name-value arguments must appear after other arguments, but the order of the
pairs does not matter.
Before R2021a, use commas to separate each name and value, and enclose
Name
in quotes.
Example: 'ShowViewIds',off
Parent
— Axes on which to plot view set
Axes
object (default)
Axes on which to plot view set, specified as the comma-separated pair consisting
of 'Parent
' and an Axes
object. To create an
Axes
object, use the axes
function.
ShowViewIds
— Display of view identifiers
'off'
(default) | 'on'
Display of view identifiers, specified as the comma-separated pair consisting of
'ShowViewIds'
and 'on'
or
'off'
.
Output Arguments
Version History
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- 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)