Version (805 Bytes) von Jörg Petzold
Simple exporting and reducing data shown in matlab figures for pgfplots
Aktualisiert 7. Feb 2018

Lizenz anzeigen

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:
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.

Zitieren als

Jörg Petzold (2024). matfig2pgfdata(filename,m,n) (, MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2015a
Kompatibel mit allen Versionen
Windows macOS Linux
Mehr zu Visual Exploration finden Sie in Help Center und MATLAB Answers

Inspiriert von: Plot (Big)

Inspiriert: matlab2dplot2datafile

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise