matfig2pgfdata(file​name,m,n)

Simple exporting and reducing data shown in matlab figures for pgfplots
52 download
Aggiornato 7 feb 2018

Visualizza la licenza

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.

Cita come

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

Compatibilità della release di MATLAB
Creato con R2015a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Visual Exploration in Help Center e MATLAB Answers
Riconoscimenti

Ispirato da: Plot (Big)

Ispirato: matlab2dplot2datafile

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0