figuresc
版本 1.0.0.0 (1.6 KB) 作者:
Steve Hoelzer
Create a figure scaled relative to screen size. It's an easy way to make non-default size figures.
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 (2024). figuresc (https://www.mathworks.com/matlabcentral/fileexchange/23428-figuresc), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2008a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Test and Measurement 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |