Posts tagged SVG

Using Filters for Shadows of 3D Surfaces

on 10.11.2010 at 13:23 by Jürg Schwizer on Blog of Jürg Schwizer
Even though SVG is a 2D vector format, plot2svg can be used to create stunning 3D effects. The SVG filter effects can be used to create shadows that enhance the 3D effect. Following example creates a sphere with semi-transparent surface […]

Filters and Bounding Boxes in Detail

on 10.11.2010 at 12:58 by Jürg Schwizer on Blog of Jürg Schwizer
All SVG filters use bounding boxes to control the region the filter is applied to. Following example explains the bounding box parameters and their impact on the filter result.

Beyond Matlab Plot Functionality, Example 2

on 10.11.2010 at 11:24 by Jürg Schwizer on Blog of Jürg Schwizer
The following example of a histogram plot uses filter to fill figure elements with pixel images. The histogram bars will drop a shadow. The axis labels will be rotated by 90 degree to improve readability. All these additional effects are […]

Contour Example

on 10.11.2010 at 10:32 by Jürg Schwizer on Blog of Jürg Schwizer
Contour plots have proven to be very effective for visualization of complex measurement results in publications.

Surface Example

on 10.11.2010 at 09:47 by Jürg Schwizer on Blog of Jürg Schwizer
Unfortunately, SVG does not support bilinear color fills. Therefore, the convertion of Matlab patches is not straight forward. In addition, figures with patches generally contain a large number of elements. This puts some restriction on the usage of overlays to emulate a bilinear shading. The usage of color filters is inadequate due to speed limitations.

Image Example

on 09.11.2010 at 17:19 by Jürg Schwizer on Blog of Jürg Schwizer
Using images in matlab plots can offer some advantages as the pixel graphics is highly compressed. The axis elements are still vector elements. This combination is good for publications as font styles and labels can be reworked at any time.

Usage of Plot2svg

on 03.08.2009 at 16:48 by Jürg Schwizer on Blog of Jürg Schwizer
See how to use plot2svg on the commandline and how to include SVG in HTML.

Download Plot2svg

on 03.08.2009 at 13:28 by Jürg Schwizer on Blog of Jürg Schwizer
Plot2svg converts 2D & 3D Matlab plots to the scalable vector format (SVG).

Categories