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
Cite As
Jason Friedman (2023). makesvg (https://github.com/JasonFriedman/makesvg/releases/tag/1.0), GitHub. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0 |
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.