export_fig(figname)

Exports data from MATLAB .fig file to HDF5 file.

現在この提出コンテンツをフォロー中です。

This script exports the data and metadata contained within a MATLAB .fig file and puts it into an HDF5 file. Supports multiple subplots, error bars, axes labels, contour plots, histograms, and more. This script was created to make compliance with new directives for publishing the data contained within figures in all papers funded by US government sources.

引用

Gregory Wallace (2026). export_fig(figname) (https://jp.mathworks.com/matlabcentral/fileexchange/59937-export_fig-figname), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを得たファイル: Structure display

ヒントを与えたファイル: Implementation of C1 FEM, TRIM: Triangulating Image

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.6.0.1

Updated to fix bug related to histogram plots. Also top level directory within HDF5 structure is now 'DATA' in line with General Atomics online HDF5 repository automatic error checking.

1.6.0.0

Fixes bug that caused script to crash when attribute data is a cell array.

1.5.0.0

Added attributes for SourceFile, UserName, and CreationDate.

1.4.0.0

Fixed bug related to recursive object searching that resulted in infinite loop behavior.

1.3.0.0

Added support for 3-D quiver plots.

1.2.0.0

Fixed bug related to x and y axis labels.

1.1.0.0

Fixed a bug that caused some labels to be lost.
Fixed bug that caused some labels to be missed.

1.0.0.0