makesvg
Create SVG files in matlab
This software is designed to create SVG files usings matlab, made up of basic shapes and texts.
It was written to create precise stimuli for running psychophysics / motor control experiments
Usage example:
% Open a text file for writing
fp = fopen('basis.svg','w');
% start the svg with a width of 400 and height of 300
startsvg(fp,400,300);
% draw a circle with a red line, filled with blue
drawCircle(fp,100,100,20,4,'red','blue');
% Finish the SVG file
endsvg(fp);
% close the file handle
fclose(fp);
See the file example.m for a full example
Citation pour cette source
Jason Friedman (2024). makesvg (https://github.com/JasonFriedman/makesvg/releases/tag/1.0), GitHub. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2022b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
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.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0 |
Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.
Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.