matfig2pgfdata(file​name,m,n)

版本 1.0.0.0 (805 字节) 作者: Jörg Petzold
Simple exporting and reducing data shown in matlab figures for pgfplots
54.0 次下载
更新时间 2018/2/7

查看许可证

A small function that captures the currently visible data in a matlab line plot and exports to a data file instantly readable with pgfplots in latex. It is based on and needs the reduce_to_width function by Tucker McClure available here:
https://github.com/tuckermcclure/matlab-plot-big/blob/master/reduce_to_width.m
Its automatically reduces the number of samples to the minimum to reproduce the displayed matlab graph in the pgf axes. Works also with zoomed data. Note that the reduction results depend on the figure width and height.

引用格式

Jörg Petzold (2024). matfig2pgfdata(filename,m,n) (https://www.mathworks.com/matlabcentral/fileexchange/65987-matfig2pgfdata-filename-m-n), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2015a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Visual Exploration 的更多信息
致谢

参考作品: Plot (Big)

启发作品: matlab2dplot2datafile

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0