バージョン (1.57 KB) 作成者: Steve Hoelzer
Create a figure scaled relative to screen size. It's an easy way to make non-default size figures.

ダウンロード 1K 件

更新 2009/3/25


figuresc(w,h) creates a normal figure except that figure size is adjusted by scaling factors for width and height, w and h. Scaling factors have a range of 0.0 <= X < 1.0, and are relative to screen size.

figuresc(s) makes width and height scaling factors both equal to s.

h = figuresc(...) returns a handle to the figure.

Demo code (and fun too!)
for x = 0.9:-0.1:0.1, figuresc(x), end


Steve Hoelzer (2022). figuresc (, MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2008a
Windows macOS Linux
タグ タグの追加

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!