matfig2pgfdata(file​name,m,n)

Simple exporting and reducing data shown in matlab figures for pgfplots

이 제출물을 팔로우합니다

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 (2026). matfig2pgfdata(filename,m,n) (https://kr.mathworks.com/matlabcentral/fileexchange/65987-matfig2pgfdata-filename-m-n), MATLAB Central File Exchange. 검색 날짜: .

도움

도움 받은 파일: Plot (Big)

도움 준 파일: matlab2dplot2datafile

카테고리

Help CenterMATLAB Answers에서 Data Exploration에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0