export_fig
337.3k 次下载
更新时间 2023/5/30
来自 github
编者注: popular file
this file was selected as matlab central
- figure/axes reproduced as it appears on screen
- cropped/padded borders (optional)
- embedded fonts (vector formats)
- improved line and grid line styles
- anti-aliased graphics (bitmap formats)
- render images at native resolution (optional for bitmap formats)
- transparent background supported (pdf, eps, png, tiff, gif)
- semi-transparent patch objects supported (png, tiff)
- rgb, cmyk or grayscale output (cmyk only with pdf, eps, tiff)
- variable image compression, including lossless (pdf, eps, jpg)
- optional rounded line-caps (pdf, eps)
- optionally append to file (pdf, tiff, gif)
- vector formats: pdf, eps, emf, svg
- bitmap formats: png, tiff, jpg, bmp, gif, clipboard, export to workspace
- for a list of available options, run: help export_fig or: doc export_fig or read here:
- for usage examples, tips and detailed explanations, read
- a technical description of the various components can be found at
- background color and figure dimensions are reproduced (the latter approximately, and ignoring cropping & magnification) in the output file. for transparent background (and semi-transparent patch objects), use the -transparent option, and set the axes 'color' property to 'none' where desired. only some image formats support a transparent background, and only png/tiff support transparency of patch objects.
- when exporting to vector format (pdf & eps), and to bitmap using the painters renderer, ghostscript () needs to be installed on your system
- when exporting to eps, the pdftops program, a part of the xpdf package, also needs to be installed. you can download this from
- this submission was originally created by oliver woodford. yair altman maintains this utility since jan 2015.
- a single textual ad message is displayed once a week. i have no intention of removing the ad; if you don't want to see even a single ad once a week, don't use the program.
引用格式
yair altman (2023). export_fig (https://github.com/altmany/export_fig/releases/tag/v3.39), github. 检索来源 .
matlab 版本兼容性
平台兼容性
windows macos linux类别
- > >
- > > >
- > > >
- > > >
标签
致谢
启发作品: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
community treasure hunt
find the treasures in matlab central and discover how the community can help you!
start hunting!探索实时编辑器
创建集代码、输出和格式化文本于一体的可执行脚本文档。
无法下载基于 github 默认分支的版本
版本 | 已发布 | 发行说明 | |
---|---|---|---|
3.39.0.0 | see release notes for this release on github: |
|
|
3.38.0.0 | see release notes for this release on github: |
|
|
3.37.0.0 | see release notes for this release on github: |
|
|
3.36.0.0 | see release notes for this release on github: |
|
|
3.35.0.0 | see release notes for this release on github: |
|
|
3.34.0.0 | see release notes for this release on github: |
|
|
3.33.0.0 | see release notes for this release on github: |
|
|
3.32.0.0 | see release notes for this release on github: |
|
|
3.31.0.0 | see release notes for this release on github: |
|
|
3.30.0.0 | see release notes for this release on github: |
|
|
3.29.0.0 | see release notes for this release on github: |
|
|
3.28 | see release notes for this release on github: |
|
|
3.27 | see release notes for this release on github: |
|
|
3.26 | see release notes for this release on github: |
|
|
3.25 | see release notes for this release on github: |
|
|
3.24 | see release notes for this release on github: |
|
|
3.23 | see release notes for this release on github: |
|
|
3.22 | see release notes for this release on github: |
|
|
3.21 | see release notes for this release on github: |
|
|
3.20 | see release notes for this release on github: |
|
|
3.19 | see release notes for this release on github: |
|
|
3.18 | see release notes for this release on github: |
|
|
3.17 | see release notes for this release on github: |
|
|
3.16 | see release notes for this release on github: |
|
|
3.15 | see release notes for this release on github: |
|
|
3.14 | see release notes for this release on github: |
|
|
3.13 | see release notes for this release on github: |
|
|
3.12 | see release notes for this release on github: |
|
|
3.11 | see release notes for this release on github: |
|
|
3.10 | see release notes for this release on github: |
|
|
3.09 | see release notes for this release on github: |
|
|
3.07 | see release notes for this release on github: |
|
|
3.06 | see release notes for this release on github: |
|
|
3.05 | see release notes for this release on github: |
|
|
3.04 | see release notes for this release on github: |
|
|
2.0.0.0 | new version |
|
|
1.99.0.0 | added -update option to download and install the latest version of export_fig |
|
|
1.98.0.0 | added the -clipboard input arg for optional clipboard output (credit: jiro doke's imclipboard function) |
|
|
1.97.0.0 | added link to technical description webpage |
|
|
1.92.0.0 | several fixes; more informative error messages; improved functionality |
|
|
1.91.0.0 | passed maintenance responsibility over to yair altman |
|
|
1.90.0.0 | support for r2014b (actually added some time ago, but the fex update date didn't reflect this) |
|
|
1.89.0.0 | update description |
|
|
1.88.0.0 | added support for hg2 |
|
|
1.87.0.0 | replace acknowledgements |
|
|
1.86.0.0 | switch to github repository |
|
|
1.85.0.0 | fix bug in isolate axes; thanks to remington reid for bringing the issue to my attention. |
|
|
1.84.0.0 | allow setting of resolution for vector formats (thanks to jan jaap meijer for suggesting this). fix bug in isolate_axes (thanks to will grant for this). |
|
|
1.83.0.0 | fixed a font swapping bug and a matlab bug affecting the export of white lines to eps. thanks to george and sebastian for reporting the issues. |
|
|
1.81.0.0 | fixed a font swapping bug and a matlab bug affecting the export of white lines to eps. thanks to george and sebastian for reporting the issues. |
|
|
1.80.0.0 | fixed bug with calling ghoscript 9.07 in linux. many thanks to jannik for the fix. |
|
|
1.79.0.0 | access user strings in text, not binary mode, to avoid errors. now swap fonts in axes labels when exporting in vector format. thanks to christian and rasmus ischebeck for pointing out these respective errors. |
|
|
1.78.0.0 | allow export of uipanel objects, and improve finding ghostscript on windows. thanks to michael and ratish punnoose for highlighting these issues. |
|
|
1.77.0.0 | bug fix to font swapping in vector formats, fixed paper orientation bug and removed conflict with the path function. many thanks to malcolm hudson, michael watts and michel slivitzky for reporting those issues respectively. |
|
|
1.45.0.0 | fix to bug introduced by r2012b |
|
|
1.44.0.0 | add ability to add bookmarks based on figure names into pdfs - thanks to petr nechaev for this. keep tick marks fixed - thanks to arcelia arrieta for this. |
|
|
1.43.0.0 | make font swapping case insensitive. fix bug affecting export to bitmap using painters in r2012a (thanks to andy matthews for reporting it). |
|
|
1.42.0.0 | fixed a bug to do with copyfig not being available to export_fig. thanks to bob fratantonio for pointing it out. |
|
|
1.41.0.0 | a bug fix to the previous change, ensuring that axes limits are correctly set. thanks to tobias lamour for reporting the issue. |
|
|
1.40.0.0 | ensure axes limits are the same on screen and printed. |
|
|
1.39.0.0 | fix bug when exporting tall figures to bitmap using the painters renderer. thanks to ken campbell for reporting it. |
|
|
1.38.0.0 | improve font swapping behaviour. thanks to anna rafferty and adam jackson for reporting issues. |
|
|
1.37.0.0 | fix bug affecting export using -painters with spaces in font names. thanks to david szwer for reporting the issue. |
|
|
1.36.0.0 | more reliable export of non-standard fonts using painters renderer. |
|
|
1.35.0.0 | allow use of arbitrary fonts with the painters renderer, e.g. in eps and pdf files. |
|
|
1.34.0.0 | various bug fixes - thanks to phil trinh, mathieu morlighem and meelis lootus for reporting the issues. also added new -transparent option, and set default anti-aliasing down to -a3. |
|
|
1.33.0.0 | fix to bug in print2array causing an error when exporting using painters with a white background. thanks to tobiar lamour for reporting it. |
|
|
1.32.0.0 | fix bitmap cropping with painters renderer. make bitmap outputs exactly the right size. suppress warnings by setting erasemodes to normal when using opengl or zbuffer renderers (thanks to pawel kocieniewski for reporting the issue). |
|
|
1.31.0.0 | bug fix to ghostscript.m mostly affecting linux (thanks to paul durack for reporting it). |
|
|
1.30.0.0 | find 64-bit ghostscript on windows (thanks to paul durack and shaun kline for both reporting this issue). fix bug in isolate_axes (thanks to rosella blatt for reproting this). |
|
|
1.28.0.0 | save user specific paths in a single, hidden directory. put isolate_axes code in a separate function. |
|
|
1.27.0.0 | enable exporting of multiple axes (when a subset of all axes). don't save user specific paths in .m files that may be version controlled (thanks to jonas dorn for the suggestion). minor bug fixes. |
|
|
1.26.0.0 | faster bitmap export using hardcopy. better error checking for when exporting to non-existent directories (thanks to aldebaro klautau for reporting this). |
|
|
1.25.0.0 | isolate axes better in presence of gui objects (thanks to tammy threadgill for reporting the issue). maintain resolution of very small images in vector formats when using lossless compression (thanks to scott for reporting the issue). |
|
|
1.24.0.0 | added ability to append to tiff. added link to usage examples web page (thanks to brett shoelson for the suggestion). |
|
|
1.23.0.0 | fixed bug which caused bitmaps to be poorly rendered when using the painters renderer on figures with many patches in. also added fix to bug reported by andrew matthews (thanks!) affecting export in -nodisplay mode. |
|
|
1.22.0.0 | fix to bug which caused an error when exporting to transparent bitmap with no colorbar present (introduced 8th april 2010). thanks to gracee for reporting it. |
|
|
1.21.0.0 | fix for r2006b (possibly even r2007a) and earlier: move embedded fonts after bounding box information. thanks to sylvain fa for reporting the problem. |
|
|
1.20.0.0 | fix to colorbar axes color bug with transparent bitmap export (thanks to roland martin for reporting it). look for ghostcript in default location on 64 bit windows (thanks to suggestion by nathan childress). |
|
|
1.19.0.0 | added ability to vary quality/compression level for jpg, pdf & eps output. thank you to fabio viola for pointing out compression artifacts using the default settings. |
|
|
1.18.0.0 | improved accuracy of native resolution feature in some circumstances. |
|
|
1.17.0.0 | added -native option for exporting to bitmap at native resolution of an image. fixed uigetdir title problem on mac os x (thanks to jonas for the bug report). |
|
|
1.16.0.0 | improved rendering of dashed and dotted lines for bitmap outputs using the -painters algorithm. this overcomes the "shrinking dash" problem mentioned by yvonne haesevoets (thanks!). |
|
|
1.15.0.0 | no change to the file, just a correction - i thank paul soderlind for suggesting the grayscale output option, not bob sica (apologies to you both). |
|
|
1.14.0.0 | bug fix (thanks, andreas offenhaeuser). added grayscale option (suggestion thanks to bob sica). added correct resolution for tiff & png (sugestion thanks to yvonne haesevoets). |
|
|
1.13.0.0 | fixed bug that meant -tif lead to jpeg being output instead. |
|
|
1.12.0.0 | appending to end of pdf files is now off by default, and enabled by the -append option. suggested by clark richards. |
|
|
1.11.0.0 | added ability to export at any resolution (bitmap outputs only) and also in cmyk colorspace (tiff, pdf, eps only). |
|
|
1.10.0.0 | added option to use zbuffer renderer for bitmaps. this avoids some errors caused by bugs in the opengl renderer.
|
|
|
1.9.0.0 | added options to disable cropping and set level of anti-aliasing. added a fix to get round a rendering bug in print (thanks to johannes korsawe for pointing it out). |
|
|
1.8.0.0 | export colorbars associated with subplots when in a uipanel. thanks to johannes korsawe for pointing out the bug. |
|
|
1.7.0.0 | fixed bug to allow exporting of axes that are children of uipanels. thanks to stefan for pointing out the bug. |
|
|
1.6.0.0 | added ability to compute transparency of patch objects when outputting to png and exporting to workspace. |
|
|
1.3.0.0 | incorporated christian dorion's patch for updating ghostscript (and also pdftops) path. fixed bug that didn't correctly detect if pdftops path was valid (due to a matlab/windows bug). |
|
|
1.2.0.0 | added ability to append to pdf files, as suggested by matt c. corrected some help text. |
|
|
1.1.0.0 | added ability to export rasterized figure straight to the workspace. |
|
|
1.0.0.0 |
|