Scalable Vector Graphics (SVG) Export of Figures
Converts 2D & 3D Matlab plots to the scalable vector format (SVG). This format is specified by W3C (http://www.w3.org) 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 http://www.zhinst.com/blogs/schwizer/.
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, 12.0, 15.0 -> yes
Inkscape 0.46, 0.47, 0.48 -> yes
Chrome 8.0, 18.0, 21.0 -> 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, 12.0, 15.0 -> yes
Inkscape 0.46, 0.47, 0.48 -> yes (some limitations)
Chrome 8.0, 18.0, 21.0 -> yes
Internet Explorer 8.0, 9.0 beta -> no
Internet Explorer + RENESIS -> no
Editors for the SVG file format can be found at http://www.inkscape.org.
Usage:
> plot2svg % opens a file dialog to plot the active figure
or
> plot2svg('myfile.svg', figure handle, pixelfiletype)
pixelfiletype = 'png' (default), 'jpg'
See http://www.zhinst.com/blogs/schwizer/ 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
<object type="image/svg+xml" data="./mySVGfile.svg" width="140" height="100"></object>
Changes in Version 22-May-2005
- bugfix line color
- bugfix path of linked jpeg figures
- improved patch handling (interpolation and texture still missing, preliminary depth sorting)
- support of pcolor plots
- preliminary: surface plots are projected on the xy-plane (use 'rotate' command)
Changes in Version 12-Dec-2005
- bugfix viewBox
- improvement of the axis scaling (many thanks to Bill Denney)
- improvement handling of exponents for log-plots
- default pixel format png instead of jpeg (many thanks to Bill Denney)
- bugfix axindex
- bugfix cell array cells (many thanks to Bill Denney)
- improved handling of pixel images (many thanks to Bill Denney)
- to save original figure background use set(gcf,'InvertHardcopy','off')
- improved markers
Changes in Version 8-Jan-2006
- axes handling fully reworked (3D axes)
- rework of axes scaling (3D axes)
- clipping enabled (Use carefully, as all figure data is written to file -> may get large)
- minor grid lines are now supported for linear and log plots
- linear color interpolation on patches (The interploation needs to be emulated as SVG does not support a linear interpolation of colors between three points. This is done by combination of different patches with linear alpha gradients. See limitation for Firefox 1.5.)
Changes in Version 20-Jun-2009
- Bugfix '°','±','µ','²','³','¼''½','¾','©''®'
- Bugfix 'projection' in hggroup and hgtransform
- 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)
- Bugfix markers for Octave (thanks to Jakob Malm)
- Bugfix image scaling and orientation
Bugfix correct backslash (thanks to Jason Merril)
- Improvment of image handling (still some remaining issues)
Fix for -. line style (thanks to Ritesh Sood)
Changes in Version 28-Jun-2009
- Improved depth sorting for patches and surface
- Bugfix patches
- Bugfix 3D axis handling
Changes in Version 11-Jul-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
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
output)
- 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
cases)
- 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
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
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
Ashmall)
- Tiny optimization of the grid display at axis borders
Changes in Version 25-08-2011
- Fix for degree character (thanks to Manes Recheis)
- Fix for problems with dash-arrays in Inkscape (thanks to
Rüdiger Stirnberg)
- Modified shape of driangles (thanks to Rüdiger Stirnberg)
Changes in Version 22-10-2011
- Removed versn as return value of function fileparts (thanks
to Andrew Scott)
- Fix for images (thanks to Roeland)
Changes in Version 20-05-2012
- Added some security checks for empty data
- Fixed rotation for multiline text
Changes in Version 25-08-2012
- Special handling of 1xn char arrays for tick labels
(thanks to David Plavcan)
- Fix for 'Index exceeds matrix dimensions' of axis labels
(thanks to Aslak Grinsted)
- Fix for another axis label problem (thanks to Ben Mitch)
Changes in Version 15-09-2012
- Fix for linestyle none of rectangles (thanks to Andrew)
- Enabled scatter plot functionality
Limitations:
- 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.
没有合适的资源?快使用搜索试试~ 我知道了~
等几何分析(IGA)Matlab代码(三重稀疏矩阵格式的有限元刚度)
共1171个文件
m:707个
eps:151个
vtu:50个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 2 下载量 107 浏览量
2023-12-25
01:11:20
上传
评论 1
收藏 223.48MB ZIP 举报
温馨提示
服务宗旨:资源亲测可运行,有任何问题私信我 适合人群:工作中项目需要、大学毕业设计参考、找工作项目实战积累 资源内容:全套源代码 运行环境:Matlab 2019b 功能说明: 等几何分析(IGA)Matlab代码 该代码支持一维、二维和三维线性弹性问题。 还实现了孔、夹杂物和裂纹建模的扩展IGA。 -基于三重稀疏矩阵格式的有限元刚度快速装配 (请参阅文件夹iga中名称以FastAssembly结尾的文件) 结构力学问题,包括欧拉梁和Kirchoff板/壳 (无旋转配方),Reissner-Mindlin板也实现了。 该代码的功能包括: -为一个和两个节点提供了使用节点插入的全局h精化尺寸网格。 -还支持通过Geopoles库进行p和k细化。 -扩展IGA,是一种用于2D无牵引的单元划分富集IGA 裂缝也被实施。级别集用于检测丰富的节点。 然而,富集函数是根据标准几何结构定义的,即。 而不是在水平集方面。还实施了孔和夹杂物。 -还提供了一种用于3D裂纹的特别实施方式。在这种情况下, 水平集用于富集检测和富集函数评估。 -位移和应力的可视化在Paraview中通过导出 结果转换为
资源推荐
资源详情
资源评论
收起资源包目录
等几何分析(IGA)Matlab代码(三重稀疏矩阵格式的有限元刚度) (1171个子文件)
particles.ai 1.09MB
mpm2DTwoDisksUSF.asv 13KB
output.avi 5.35MB
algorithm.fig.bak 3KB
lshapeGeo.fig.bak 2KB
stiff-loading.fig.bak 2KB
square.fig.bak 1KB
stiffener.fig.bak 1KB
order-elevation.fig.bak 977B
bezier-extraction-example.fig.bak 742B
NURBS.c 6KB
NURBS3DBasisDersSpecial.c 6KB
NURBS3DBasisDers.c 6KB
NURBS2DBasis2ndDers.c 6KB
NURBS2DBasisDers.c 4KB
NURBS2DBasisDersSpecial.c 4KB
NURBS2Dders.c 4KB
BSPLINE2DBasisDers.c 4KB
NURBS1DBasis2ndDers.c 3KB
NURBSinterpolation2d.c 3KB
NURBSfdfd2fInterpolation.c 3KB
NURBS1DBasisDers.c 3KB
NURBSbasis.c 3KB
NURBSBasis_Ccode.c 3KB
FindSpan.c 2KB
NURBSinterpolation.c 2KB
nrbsurfderiveval.cc 16KB
low_level_functions.cc 12KB
nrb_srf_basisfun_der__.cc 6KB
nrb_srf_basisfun__.cc 5KB
bspeval.cc 4KB
surfderivcpts.cc 3KB
surfderiveval.cc 3KB
tbasisfun.cc 3KB
curvederivcpts.cc 2KB
basisfun.cc 2KB
bspderiv.cc 2KB
basisfunder.cc 2KB
COPYING 18KB
bar1d-p4-32elems-C0.csv 25KB
bar1d-p1-16elems-C00.csv 25KB
bar1d-p1-32elems-C00.csv 25KB
bar1d-p2-8elems-C00.csv 25KB
bar1d-p4-8elems-C00.csv 25KB
bar1d-p3-16elems-C00.csv 25KB
bar1d-p3-8elems-C00.csv 25KB
bar1d-p2-16elems-C00.csv 25KB
bar1d-p5-32elems-C0.csv 25KB
bar1d-p1-8elems-C00.csv 25KB
beam-coupling.csv 6KB
bar1d-exact.csv 3KB
bar1d-p2-16elems.csv 3KB
bar1d-p1-32elems.csv 3KB
bar1d-p5-16elems.csv 3KB
bar1d-p3-16elems.csv 3KB
bar1d-p3-32elems-C0.csv 3KB
bar1d-p5-32elems.csv 3KB
bar1d-p2-32elems.csv 3KB
bar1d-p2-32elems-C0.csv 3KB
bar1d-p4-32elems.csv 3KB
bar1d-p4-16elems.csv 3KB
bar1d-p1-16elems.csv 3KB
bar1d-p3-32elems.csv 3KB
beam-2D.csv 2KB
bar1d1.csv 2KB
bar1d2.csv 324B
NURBS2DBasisDersSpecial.c~ 4KB
result.dat 37.79MB
stress.dat 63KB
p3-16elems.dat 3KB
p2-16elems.dat 3KB
fem.dat 413B
DESCRIPTION 461B
.dropbox 34B
.DS_Store 12KB
inclusion-nitsche-explain.eps 22.38MB
beam-nonconform-meshp1-dx.eps 22.38MB
timoshenko-stress-quadratic-mesh7.eps 7.03MB
inclusion-nitsche-mesh.eps 5.87MB
tbeam-convergence-mesh.eps 5.87MB
spline-surface.eps 5.87MB
dcb-shell-BC.eps 5.87MB
curved-surf.eps 5.87MB
plate-Q4-stress.eps 5.87MB
plate-q4.eps 5.87MB
hole-stress.eps 3.74MB
plate-Q4-stress.eps 2.28MB
plate-q4.eps 2.23MB
void-integration-example.eps 2.1MB
plate-q4.eps 1.17MB
stiff.eps 968KB
timoshenko-stress.eps 760KB
cubic-R3.eps 647KB
bernstein2Dcubic.eps 628KB
cubic-R3-contour.eps 625KB
bernstein2DLinCubic.eps 624KB
particles.eps 606KB
pk-refinement.eps 384KB
mpm-steel-disk-particles.eps 383KB
anchors.eps 368KB
共 1171 条
- 1
- 2
- 3
- 4
- 5
- 6
- 12
资源评论
- 索大眼2024-06-10资源很受用,资源主总结的很全面,内容与描述一致,解决了我当下的问题。
- 草叶心2024-04-03这个资源总结的也太全面了吧,内容详实,对我帮助很大。
心兰相随引导者
- 粉丝: 1104
- 资源: 5639
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功