matfig2pgfdata(file​name,m,n)

Version 1.0.0.0 (805 octets) par Jörg Petzold
Simple exporting and reducing data shown in matlab figures for pgfplots
62 téléchargements
Mise à jour 7 fév. 2018

Afficher la licence

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.

Citation pour cette source

Jörg Petzold (2026). matfig2pgfdata(filename,m,n) (https://fr.mathworks.com/matlabcentral/fileexchange/65987-matfig2pgfdata-filename-m-n), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2015a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Data Exploration dans Help Center et MATLAB Answers
Remerciements

Inspiré par : Plot (Big)

A inspiré : matlab2dplot2datafile

Version Publié le Notes de version
1.0.0.0