Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/xpath/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在julia中使用pgf后端到matplotlib_Matplotlib_Julia_Pgf - Fatal编程技术网

在julia中使用pgf后端到matplotlib

在julia中使用pgf后端到matplotlib,matplotlib,julia,pgf,Matplotlib,Julia,Pgf,我开始使用Julia分析一些数据,这非常有效 我还使用PyPlot/Matplotlib进行绘图,我也使用了它 现在,这些绘图需要进入我的latex文档,我希望使用matplotlib pgf后端实现这一点。它也可以工作,但我真的不知道如何将参数传递给 mpl.rcParams.update(parameters) 朱莉娅社区里有没有人能告诉我如何做到这一点 编辑2: 关于此问题的简短更新:设置rc选项通过以下方式进行设置: PyPlot.matplotlib[:rc]("text", us

我开始使用Julia分析一些数据,这非常有效

我还使用PyPlot/Matplotlib进行绘图,我也使用了它

现在,这些绘图需要进入我的latex文档,我希望使用matplotlib pgf后端实现这一点。它也可以工作,但我真的不知道如何将参数传递给

mpl.rcParams.update(parameters)
朱莉娅社区里有没有人能告诉我如何做到这一点


编辑2:

关于此问题的简短更新:设置rc选项通过以下方式进行设置:

PyPlot.matplotlib[:rc]("text", usetex=true) # here: allow tex rendering

您是如何在Julia中使用pgf后端的?设置text.usetex的rc选项可以快速修复,但实际上并没有使用matplotlib的pgf后端。我也没能改变这种方式的字体。我试着做了
PyPlot.matplotlib[:use](“pgf”)
,它运行了,但似乎什么都没做。