RenderText
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
Citation pour cette source
Ken Purchase (2026). RenderText (https://fr.mathworks.com/matlabcentral/fileexchange/26097-rendertext), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.1.0.0 | (updated to fix a bug in one of the demos) |
||
| 1.0.0.0 |
