在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:sisl/juliaplots.sty开源软件地址:https://github.com/sisl/juliaplots.sty开源编程语言:TeX 100.0%开源软件介绍:juliaplots.styThis package makes it easy to integrate Julia code and plots into latex documents. It sits on top of pythontex (version 0.17 or later), which comes bundled with TexLive and MikTeX. Python must be installed along with the other dependencies of pythontex (e.g., pygments). To install this package, just download juliaplots.sty file and place it in the directory of your document. The package currently supports the following Julia plotting packages: Before using any of these packages, they must be installed and usable from Julia. In the case of Gadfly, you must also have Cairo.jl installed. Only one plotting package is permitted. You specify the package you want as a package option to
As with pythontex, you can run code using \begin{jlcode}
x = [1,2,3]
y = [2,4,1]
plot(x, y)
\end{jlcode} For \begin{jlcode}
x = [1,2,3]
y = [2,4,1]
p = @pgf TikzPicture(
Axis(
PlotInc({ no_marks },
Table(; x = x, y = y))))
plot(p)
\end{jlcode} You can run and typeset code using \begin{jlblock}
x = [1,2,3]
y = [2,4,1]
plot(x, y)
\end{jlblock} You can run a command with, for example, The functionality that is added by juliaplots.jl is the
To create your document, run This repository contains example tex files and their associated PDF files. Future workIn the future, we would like to support Plots.jl. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论