matlab设置图片线宽和字体

收录时间:2018-03-09
资源分类:Matlab 工具:MATLAB 7.2 (R2006a)

matlab设置图片线宽和字体

 

SDF - Set the Figure

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')

文件下载列表
sdf.zip (1.88KB)  
附件内容(只显示2中的1个)
sdf.m  
更多

目前尚无评论

用户反馈   关于我们
Copyright (©) ZHIHUISHI.COM 2013 All Rights Reserved.
京ICP备12012558号-7