shg
現在の Figure を表示
構文
説明
shg
は、現在の Figure を表示し、それを画面上のその他すべての Figure の前面に配置します。これは、コマンド figure(gcf)
と等価です。
例
Figure を画面の最前面に表示
コマンド ウィンドウから、プロットを含む Figure を作成します。Figure が画面に表示されます。
plot(1:10)
座標軸にタイトルを追加します。Figure はコマンド ウィンドウの背面に移動することに注意してください。Figure を前面に移動して表示されるようにするには、shg
を呼び出します。
title('My Plot')
shg
バージョン履歴
R2006a より前に導入
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)