


Matlab to SVG converter
Prelinary version supporting 3D plots as well
Usage: plot2svg(filename,graphic handle,pixelfiletype)
optional optional optional
or
plot2svg(figuresize,graphic handle,pixelfiletype)
optional optional optional
pixelfiletype = 'png' (default), 'jpg'
Juerg Schwizer 23-Oct-2005
See http://www.zhinst.com/blogs/schwizer/ to get more informations
07.06.2005 - Bugfix axxindex (Index exceeds matrix dimensions)
19.09.2005 - Added possibility to select output format of pixel graphics
23.10.2005 - Bugfix cell array strings (added by Bill)
Handling of 'hggroups' and improved grouping of objects
Improved handling of pixel images (indexed and true color pictures)
23.10.2005 - Switched default pixelfromat to 'png'
07.11.2005 - Added handling of hidden axes for annotations (added by Bill)
03.12.2005 - Bugfix of viewBox to make Firefox 1.5 working
04.12.2005 - Improved handling of exponent values for log-plots
Improved markers
09.12.2005 - Bugfix '<' '>' '?' '"'
22.12.2005 - Implementation of preliminary 3D version
Clipping
Minor tick marks
22.01.2005 - Removed unused 'end'
29.10.2006 - Bugfix '°','±','µ','²','³','Œ''œ','Ÿ','©''®'
17-04-2007 - Bugfix 'projection' in hggroup and hgtransform
27-01-2008 - Added Octave functionality (thanks to Jakob Malm)
Bugfixe cdatamapping (thanks to Tom)
Bugfix image data writing (thanks to Tom)
Patches includes now markers as well (needed for 'scatter'
plots (thanks to Phil)
04-02-2008 - Bugfix markers for Octave (thanks to Jakob Malm)
30-12-2008 - Bugfix image scaling and orientation
Bugfix correct backslash (thanks to Jason Merril)
20-06-2009 - Improvment of image handling (still some remaining issues)
Fix for -. line style (thanks to Ritesh Sood)
28-06-2009 - Improved depth sorting for patches and surface
- Bugfix patches
- Bugfix 3D axis handling
11-07-2009 - Support of FontWeight and FontAngle properties
- Improved markers (polygon instead of polyline for closed markers)
- Added character encoding entry to be fully SVG 1.1 conform
13-07-2009 - Support of rectangle for 2D
- Added preliminary support for SVG filters
- Added preliminary support for clipping with pathes
- Added preliminary support for turning axis tickmarks
18-07-2009 - Line style scaling with line width (will not match with png
output)
- Small optimizations for the text base line
- Bugfix text rotation versus shift
- Added more SVG filters
- Added checks for filter strings
21-07-2009 - Improved bounding box calculation for filters
- Bugfixes for text size / line distance
- Support of background box for text
- Correct bounding box for text objects
31-07-2009 - Improved support of filters
- Experimental support of animations
16-08-2009 - Argument checks for filters
- Rework of latex string handling
- 'sub' and 'super' workaround for Firefox and Inkscape
31-10-2009 - Bugfix for log axes (missing minor grid for some special
cases)
24-01-2010 - Bugfix nomy line #1102 (thanks to Pooya Jannaty)
17-02-2010 - Bugfix minor tickmarks for log axis scaling (thanks to
Harke Pera)
- Added more lex symbols
06-03-2010 - Automatic correction of illegal axis scalings by the user
(thanks to Juergen)
- Renamed plot2svg_beta to plot2svg
12-04-2010 - Improved Octave compatibility
05-05-2010 - Bugfix for ticklabels outside of the axis limits (thanks to
Ben Scandella)
30-10-2010 - Improved handling of empty cells for labels (thanks to
Constantine)
- Improved HTML character coding (thanks to David Mack)
- Bugfix for last ')' (thanks to Jonathon Harding and Benjamin)
- Enabled scatter plots using hggroups
- Closing patches if they do not contain NaNs
10-11-2010 - Support of the 'Layer' keyword to but the grid on top of
of the other axis content using 'top' (Many thanks to Justin
Ashmall)
- Tiny optimization of the grid display at axis borders