Figure2eps - Version 1.1
June 2013
Version 1.1 - July 2013
-----------------------
The handeling of multiple axes with multiple surfaces and or patches has been improved.
Description
-----------
This script enables the combination of vector graphics for text, axes, line plots etc and bitmap graphics for large surfaces in one and the same .eps file.
It automatically selects the apropriate renderer to ensure a high quality graphics while simultaneously ensuring that the graphics can later be viewed with suffieicnt speed.
Generating vector graphics from figures with large surfaces or with a large number of patches leads to an .eps file which are very slow to open. These files also cause problems on many
printers because it requires the printer to convert the very large
numbers of patches to a bitmap it can print.
The following logic is used when determining which renderer to
use:
1) The painters renderer is used to render Figures without
surfaces and patches to an .eps file.
2) The painters renderer is used is a figure has patches or
surfaces if the number of patches is lower than 'maxNrPatches'
(default = 1000).
3) For large surfaces or figures with a large number of patches:
- Painters is used for all non surface an patch graphics e.g.
axes, text line plots etc.
- A bitmapRender (default = zbuffer) is used for the surfaces and
patches.
- Then the vector graphics portion and the bitmap portions are
combined in one .eps file.
4) It is also possible to force the use of the painters renderer.
I would like to thank Will Robertson for his contribution
|epscombine.m| at Matlab File Exchange:
http://www.mathworks.com/matlabcentral/fileexchange/16902
I wish to acknowledge that without his contribution an important
part of this package would be missing. For convenience the
epscombine.m code is included in package.
|