File Exchange

image thumbnail


version 1.0.0 (39.6 KB) by Oluwasegun Somefun
compress large plot datasets from matlab plots to a data file (txt/csv/dat) for data visualization using TikZ/pgfplots in LaTeX

1 Download

Updated 22 Feb 2019

From GitHub

View license on GitHub

This simple tool that helps to automate your Matlab To LaTeX workflow
It obtains data from a compressed matlab 2D-plot and exports to a specified
file name in *.txt, *.csv, or *.dat for beautiful scientific plots or datavisualization
with the pgfplots package in LaTeX.
Comes bundled with Tucker McClure's LinePlotReducer script.
Useful for researchers writing Papers,
and have a good knowledge of the pgfplots package
To get up and running with this script, see the example file.
It contains 4 implementation examples.

Cite As

Oluwasegun Somefun (2021). matlab2dplot2datafile (, GitHub. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: Plot (Big), matfig2pgfdata(filename,m,n)

Community Treasure Hunt

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

Start Hunting!