このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
getAxesHandle
説明
例
スライス ビューアーの座標軸のハンドルの取得
MRI データをワークスペースに読み込みます。
load mristack
スライスとスライダーの表示に使用する表示パネルを作成します。
ViewPnl = uipanel(figure,"Title","Z-Direction Slices of MRI");
スライスを表示するためのカスタム カラーマップを指定して、スライス ビューアーでデータを表示します。スライス ビューアーによってイメージのスタックが開き、中央に表示されます。別のスライスを表示するには、スライダーを使用します。
cmap = parula(256); s = sliceViewer(mristack,"Colormap",cmap,"Parent",ViewPnl);
スライス ビューアー内でイメージ スライスを含む座標軸のハンドルを取得します。
hAx = getAxesHandle(s)
hAx = Axes with properties: XLim: [0.5000 256.5000] YLim: [0.5000 256.5000] XScale: 'linear' YScale: 'linear' GridLineStyle: '-' Position: [116.8627 57.5000 326.2745 326.2745] Units: 'pixels' Show all properties
入力引数
s
— スライス ビューアー
sliceViewer
オブジェクト
スライス ビューアー。sliceViewer
オブジェクトとして指定します。
出力引数
hAx
— スライス ビューアーの座標軸
Axes
オブジェクト
スライス ビューアーの座標軸。Axes
オブジェクトとして返されます。
バージョン履歴
R2019b で導入
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)