Code Directory
 Visual Basic & VB.NET
New Code
dbForge Studio for PostgreSQL 2.3.212
HTMLPad 2020 16.2
WeBuilder 2020 16.2
Rapid CSS 2020 16.2
Rapid PHP 2020 16.2
C# HTML to PDF 2020.8.1
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Top Code
IcrediBB Bulletin Board System 1.0
Ruby FANN-Fast Artificial Neural Network 1.1.3
Java-2-Pseudo 1.0
Ticket Booking System 1.0
Simplified Fuzzy ARTMAP Neural Network 1.0
Block Matching Algorithms for Motion Estimation 1.0
dbForge Studio for PostgreSQL 2.3.212
Online Betting Exchange & Open API. 1.0
PHP reports generator 1.0
SkaDate Online Dating Software 4.0
Betting system 6.x-1.x-dev
Kalman Filter Tutorial 1.0
Gif4J Light 1.0
Solid File System OS edition 5.1
Auto Screen Capture and Word / PDFDumper 1.0
Top Rated
Uber Clone with Safety Measure Addons 2.0
Answers phpSoftPro 3.12
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Apphitect Airbnb Clone Script 1.0
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
Scalable Vector Graphics (SVG) Export of Figures 1.0
File ID: 86579

Scalable Vector Graphics (SVG) Export of Figures 1.0
Download Scalable Vector Graphics (SVG) Export of Figures 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 839.7 KB
Downloads: 5
Submit Rating:
Scalable Vector Graphics (SVG) Export of Figures 1.0 Description
Description: Scalable Vector Graphics (SVG) Export of Figures

Converts 2D & 3D Matlab plots to the scalable vector format (SVG). This format is specified by W3C ( and can be viewed and printed with internet browsers.

Added preliminary support of filter, clipping, and tickmark extensions that go beyond the Matlab functionality. SVG filters are a great tool to create stylish plots! Try it out! Before you start using this new features have a look at the tutorial. More information and examples can be found on my blog

Tested browsers and editors for basic SVG support (no filters, no animation):
Opera 9.64,10.50, 10.63 -> yes
Firefox 3.5,3.6 -> yes
Inkscape 0.46, 0.47 -> yes
Chrome 8.0.552.210 beta -> yes
Internet Explorer 9.0 beta -> yes
Internet Explorer 8.0 -> no
Internet Explorer + RENESIS -> yes

Tested browsers and editors for SVG filters:
Opera 9.64,10.50, 10.63 -> yes
Firefox 3.5,3.6 -> yes
Inkscape 0.46, 0.47 -> yes (some limitations)
Chrome 8.0.552.210 beta -> yes
Internet Explorer 8.0, 9.0 beta -> no
Internet Explorer + RENESIS -> no

IMPORTANT: Use 'v6' graphics option for Matlab versions > R14! (see below)

Editors for the SVG file format can be found at

> plot2svg % opens a file dialog to plot the active figure
> plot2svg('myfile.svg', figure handle, pixelfiletype)

pixelfiletype = 'png' (default), 'jpg'

IMPORTANT: Firefox 1.5 may hang if too many linear shaded patches are used in the figure.

See to get more informations

Supported Features
- line, patch, contour, contourf, quiver, surf, ...
- markers
- image (saved as linked png pictures)
- grouping of elements
- alpha values for patches
- subplot
- colorbar
- legend
- zoom
- reverse axes
- controls are saved as png pictures
- log axis scaling
- axis scaling factors (10^x)
- labels that contain Latex commands are interpreted (with some limitations):
alpha, Alpha, beta, Beta, ... infity, pm, approx
{it.....} for italic text
{bf.....} for bold text
^{...} for superscript
_{...} for subscript

How to use SVG files in HTML code

Changes in Version 13-Jul-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

Changes in Version 18-Jul-2009
- Line style scaling with line width (will not match with png
- Small optimizations for the text base line
- Bugfix text rotation versus shift
- Added more SVG filters
- Added checks for filter strings

Changes in Version 21-Jul-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

Changes in Version 06-Mar-2010
- Improved support of filters
- Experimental support of animations
- Argument checks for filters
- Rework of tex string handling
- 'sub' and 'super' workaround for Firefox and Inkscape
- Bugfix for log axes (missing minor grid for some special
- Bugfix nomy line #1102 (thanks to Pooya Jannaty)
- Bugfix minor tickmarks for log axis scaling (thanks to
Harke Pera)
- Added more lex symbols
- Automatic correction of illegal axis scalings by the user
(thanks to Juergen)
- Renamed plot2svg_beta to plot2svg

Changes in Version 12-04-2010
- Improved Octave compatibility

Changes in Version 05-05-2010
- Bugfix for ticklabels outside of the axis limits (thanks to
Ben Scandella)

Changes in Version 30-10-2010
- Improved handling of empty cells for labels (thanks to
- 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

Changes in Version 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
- Tiny optimization of the grid display at axis borders

- axis scaling factors for 3D axes
- 3D plot functionality limited (depth sorting, light)

Example of a SVG file is included to the zip file.

Reports of bugs highly welcome.

License: Shareware

Related: mar, Objects, experimental, Animations, argument, correct, Background, bounding, improved, Calculation

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 839.7 KB

Downloads: 5

More Similar Code

x2svg is software to graphically lay out files like XML Schema, DTDs and Java property files as scalable vector graphics (SVG). Diagrams can be converted into PDF, PNG, TIF and EPS files directly from within x2svg. A simple GUI and ant integration exist.

aSVERD is a little system for generating Entity Relationship Diagrams (ERD) as Scalable Vector Graphics (SVG). SVG can be viewed and zoomed in a Web Browser. The diagrams can be edited with an SVG editor and round-trip updated against the database.

SVGWT (Scalable Vector Graphics Widget Toolkit) is a framework for building advanced web applications for browsers supporting SVG combined with JavaScript, XUL, AJAX and Comet.

XChords is utility for converting XML guitar chord definitions to SVG (Scalable Vector Graphics) images and then further to JPEG/PNG/TIFF/PDF documents. Project includes XML Schema and/or DTD. It uses XSLT as the main engine (XSLT->SVG)

svg2ps : a svg (Scalable Vector Graphics) to ps (PostScript) converter

The CRT X-Y library (libcrtxy) is meant to be used by video game programmers who wish to create games in the style of vector graphics arcade games of the late 1970s and early 1980s. (Tempest, Star Wars, Battle Zone, Star Castle, etc.)

This is an online tutorial that allows the readers to gather more information about server side manipulation by using C# and ASP.NET. In this tutorial the author explains about representing all types of map with the help of Scalable Vector...

GL2PS is a C library providing high quality vector output for any OpenGL application.

The main difference between GL2PS and other similar libraries is the use of sorting algorithms capable of handling intersecting and stretched...

phpHtmlLib is a set of PHP classes that facilitate building, debugging, and rendering of XML,HTML, XHTML, WAP/ WML Documents, and SVG (Scalable Vector Graphics) images as well as complex html codings. It helps in giving output tags in a readable...

SVG export script for powerpoint. You create a diagram using powerpoint's shapes, text boxes, drawing tools, etc. Then you run export_to_svg (a macro) and bingo you have an SVG fragment that you can view in your favourite browser.

User Review for Scalable Vector Graphics (SVG) Export of Figures
- required fields

Please enter text on the image