RenderText

版本 1.1.0.0 (5.7 KB) 作者: Ken Purchase
Draws text (font) into a matrix, by first drawing it in a figure, then capturing the screen.
696.0 次下载
更新时间 2010/1/7

查看许可证

Draws (renders) text fonts into a matrix, by first drawing it in a figure, then capturing the screen. There are two versions, a "simple" one that only takes a couple of inputs, and the full version that has more flexibility, but perhaps some obtuse inputs.

I have many times wanted to make a matrix (and/or save to a file) an image that includes matlab-generated text in my choice of fonts, and now one can do so with ease.

See the comments in the files for more info, and be sure to run these demos:
testRenderText.m
testRendreTextSimple.m

引用格式

Ken Purchase (2024). RenderText (https://www.mathworks.com/matlabcentral/fileexchange/26097-rendertext), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Annotations 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

(updated to fix a bug in one of the demos)

1.0.0.0