在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):matlab2tikz/matlab2tikz开源软件地址(OpenSource Url):https://github.com/matlab2tikz/matlab2tikz开源编程语言(OpenSource Language):MATLAB 99.4%开源软件介绍(OpenSource Introduction):The updater in matlab2tikz 0.6.0 (and older) no longer works. Please update manually if you are not using matlab2tikz 1.0.0 or newer!
To download the official releases and rate
Installation
Make sure that your LaTeX installation is up-to-date and includes:
It is recommended to use the latest stable version of these packages. Older versions may work depending on the actual MATLAB(R) figure you are converting. UsageTypical usage of MATLAB
matlab2tikz('myfile.tex'); LaTeXAdd the contents of \documentclass{article}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
%% the following commands are needed for some matlab2tikz features
\usetikzlibrary{plotmarks}
\usetikzlibrary{arrows.meta}
\usepgfplotslibrary{patchplots}
\usepackage{grffile}
\usepackage{amsmath}
%% you may also want the following commands
%\pgfplotsset{plot coordinates/math parser=false}
%\newlength\figureheight
%\newlength\figurewidth
\begin{document}
\input{myfile.tex}
\end{document} RemarksMost functions accept numerous options; you can check them out by inspecting their help: help matlab2tikz Sometimes, MATLAB(R) plots contain some features that impede conversion to LaTeX; e.g. points that are far outside of the actual bounding box.
You can invoke the cleanfigure;
matlab2tikz('myfile.tex'); More information
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论