Myaa - My Anti-Alias for Matlab
Note de l’éditeur : This file was selected as MATLAB Central Pick of the Week
Add myaa.m to your path and enjoy anti-aliased professionally looking graphics in Matlab at any time. Myaa works with any kind of graphic (3-D, plots, scatterplots, ...) and even adds anti-aliasing to text, ui controls and grids. Myaa is ideal for complex, cluttered and saturated plots.
See attached screenshot for a demonstration. More examples included in the code, just run 'help myaa'.
Curiosa:
For those of you who 'publish' your code often, an undocumented anti-aliasing option is included in the snapnow.m function in Matlab. To publish a file called test.m you can do:
opts.figureSnapMethod = 'antialiased';
publish('test.m',opts)
However, you will have more control over the process using myaa, which is also the best choice when using Matlab interactively.
In any case: Anti-aliasing is good for you! :-)
Citation pour cette source
Anders Brun (2024). Myaa - My Anti-Alias for Matlab (https://www.mathworks.com/matlabcentral/fileexchange/20979-myaa-my-anti-alias-for-matlab), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Signal Processing > Signal Processing Toolbox > Digital and Analog Filters > Multirate Signal Processing >
Tags
Remerciements
A inspiré : AACAM - Realistic Depth of Field Rendering in Matlab 3D Figures
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!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.
myaa/
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 | Changed some nomenclature in the code. Thanks to Khalid. |