matlab2tikz/matlab2tikz -凯发k8网页登录

matlab2tikz/matlab2​tikz

版本 1.0.0.0 (205.1 kb) 作者:
a script to convert matlab/octave into tikz figures for easy and consistent inclusion into latex.

116.1k 次下载

更新时间 2023/2/10

来自 github

编者注: popular file

this is matlab2tikz, a matlab(r) script for converting matlab figures into native tikz/pgfplots figures.
matlab2tikz supports the conversion of most matlab figures, including 2d and 3d plots. for plots constructed with third- party packages, your mileage may vary.
the workflow is as follows.

a. place the matlab2tikz scripts (contents of src/ folder) in a directory where matlab can find it (the current directory, for example). b. make sure that your latex installation includes the packages

tikz (aka pgf, >=2.00) and
pgfplots (>=1.3).
generate your plot in matlab.

invoke matlab2tikz by
```
>> matlab2tikz();
```
or
```
>> matlab2tikz('myfile.tex');
```
the script accepts numerous options; check them out by invoking the help,
```
>> help matlab2tikz
```
sometimes, matlab makes it hard to create matching latex plots by keeping invisible objects around or stretches the plots too far beyond the bounding box. use
```
>> cleanfigure;
>> matlab2tikz('myfile.tex');
```
to first clean the figure of unwanted entities, and then convert it to tex.

add the contents of `myfile.tex` into your latex source code; a convenient way of doing so is to use `\input{/path/to/myfile.tex}`. also make sure that at the header of your document the pgfplots package is included:
```
\documentclass{article}
\usepackage{pgfplots}
% and optionally (as of pgfplots 1.3):
\pgfplotsset{compat=newest}
\pgfplotsset{plot coordinates/math parser=false}
\newlength\figureheight
\newlength\figurewidth
\begin{document}
\input{myfile.tex}
\end{document}
```
there are reported incompatibilities with the following latex packages:

signalflowdiagram (check out .)
if you experience bugs, have nice examples of what matlab2tikz can do, or if you are just looking for more information, please visit the web page of matlab2tikz .

引用格式

nico schlömer (2023). matlab2tikz/matlab2tikz (https://github.com/matlab2tikz/matlab2tikz), github. 检索来源 .

matlab 版本兼容性
创建方式 r2014b
兼容任何版本
平台兼容性
windows macos linux
类别
  • > > >
  • > > > >
在 和 中查找有关 printing and saving 的更多信息
标签
致谢

参考作品:

启发作品: , , , ,

community treasure hunt

find the treasures in matlab central and discover how the community can help you!

start hunting!

src

src/dev

src/private

test

test/examples

test/private

test/suites

test/suites/private

无法下载基于 github 默认分支的版本

版本 已发布 发行说明
1.50.0.0

update description

1.49.0.0

update github repository

1.48.0.0

present the contribution link more prominently

1.47.0.0

add github link

1.46.0.0

update to 0.4.7

1.45.0.0

update to 0.4.6

1.44.0.0

update to 0.4.5

1.43.0.0

update to 0.4.4

1.42.0.0

update to 0.4.3

1.40.0.0

updated logo

1.38.0.0

update to 0.4.2

1.36.0.0

update to 0.4.1

1.35.0.0

update to 0.4.0

1.34.0.0

update to 0.3.3

1.33.0.0

upgrade to 0.3.2 (for real this time)

1.30.0.0

update to 0.3.0

1.0.0.0

the largest update in m2t history; for details, see

要查看或报告此来自 github 的附加功能中的问题,请访问其 。
要查看或报告此来自 github 的附加功能中的问题,请访问其 。
网站地图