SDF - Set the Figure

バージョン 1.1.0.0 (1.97 KB) 作成者: Andrey Popov
Set the line width and fonts of a figure, as if using the File->Export setup in the figure menu
ダウンロード: 3.2K
更新 2009/7/23

ライセンスの表示

The function is aimed at fast setting the figure fonts and line sizes to a comfortable viewing and exporting and is best suited to plots whose result is difficult to adjust (for example the step, impulse and bode plots of the control toolbox, to name a few).
The function is useful during lectures or tutorials when the figure size has to be easily adjusted for better viewing.
The name of the function is partially chosen so, that it can be promptly typed on QWERTY keyboard (where "s", "d" and "f" are adjacent letters).
The function help follows:

SDF Set the line width and fonts of a figure

sdf(fig)

where fig is the figure number. If the figure number is omitted, the currently active figure is updated. Edit the file to set you own style settings.

sdf(fig, 'stylename')
applies a pre-configured style from the File-->Export Setup menu of the figure's window. The stylename should be one of the 'Export Styles' section of the dialog.

The function allows applying the same settings as through the File-->Export Setup-->Apply menu of the figure, but much faster and without the annoying clicking.

Example
figure(1); t=0:0.1:10; plot(t, sin(t));
sdf(1)
pause
sdf(1,'PowerPoint')

引用

Andrey Popov (2024). SDF - Set the Figure (https://www.mathworks.com/matlabcentral/fileexchange/24807-sdf-set-the-figure), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2006a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersMaintain or Transition figure-Based Apps についてさらに検索
謝辞

ヒントを与えたファイル: Save figures Shortcut

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.1.0.0

Added possibility to use a pre-recorded Style

1.0.0.0