Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.
/ fig2svg Public archive

fig2svg: a Matlab/GNU Octave Toolbox to Export Matlab/GNU Octave Figures in Scalable Vector Graphics (SVG) Format

License

Notifications You must be signed in to change notification settings

kupiqu/fig2svg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fig2svg is now unmaintained

Matlab and GNU Octave support SVG files. Unfortunately, Matlab's SVG files do not scale nicely and are restricted to the figure size at the time of saving. You can use svg_fix_viewbox to fix this issue.


Previous Content

fig2svg toolbox: a Matlab/GNU Octave FIG to SVG converter

fig2svg is a Matlab/GNU Octave toolbox that converts Matlab/GNU Octave figures to Scalable Vector Graphics (SVG). The most important feature when comparing fig2svg to plot2svg is that fig2svg has enhanced compatibility, especially for Matlab graphics > 2014a. Note that plot2svg function is deprecated in the fig2svg toolbox and will be removed in the next major release (keeping it now to ease transitions from plot2svg to fig2svg). Thus, plot2svg use in this toolbox is discouraged. Please use fig2svg instead.

Updated Features

Done:

  • bar plot
  • scatter plot
  • legend
  • colorbar
  • ticklabelrotation
  • annotations
  • 3D plots (distinct azimuth values)

Limitations:

  • horizontal bar plot
  • stairs and stem plots
  • patch enhancements (issue #10)
  • 3D plots (distinct elevation values issue #15)
  • your feature request ;-)

Credit

fig2svg was originally a fork of plot2svg

About

fig2svg: a Matlab/GNU Octave Toolbox to Export Matlab/GNU Octave Figures in Scalable Vector Graphics (SVG) Format

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages