figsize
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Visualization
Introduced first in SolidGeometry 5.1, Creation date: 2021-12-06, Last change: 2025-09-15
sets the figure size
Description
For some video recordings it is necessary that the recorded figure using getframe(gcf) has a defined size
See Also: fullview
, Videoquickwritetextpage
, fontsize
, papermode
Example Illustration
Syntax
[nsz]=figsize([sz])
Input Parameter
sz: | | desired size; default is [960 540] |
Output Parameter
Examples
close all; SGfigure; set(gcf,'Position',[400 400 400 400]); pause; figsize([3000 100])
close all; SGfigure; set(gcf,'Position',[400 400 400 400]); pause; figsize
getframe(gcf)
Copyright 2021-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Last html export of this page out of FM database by TL: 2025-09-21