Skip to content
Create plots in Julia using the PGFPlots LaTeX package
Julia Shell
Branch: master
Clone or download
tpapp allow raw strings in plots. (#172)
Allow raw strings in plots, with example.
Latest commit cf6d327 Sep 10, 2019



Documentation Build Status

PGFPlotsX is a Julia package to generate publication quality figures using the LaTeX library PGFPlots.

It is similar in spirit to the package PGFPlots.jl but it tries to have a very close mapping to the PGFPlots API as well as minimize the number of dependencies. The fact that the syntax is similar to the TeX version means that examples from Stack Overflow and the PGFPlots manual can easily be incorporated in the Julia code.

Features include:

  • Showing figures inline in Jupyter notebooks, Juno and VSCode-julia. Both png- and svg-figures can be shown.
  • Exporting to tex, pdf, svg, and png, file formats.
  • Customizing the preamble so that commands from latex packages can be used.
  • Extra functionality when different packages are loaded, for example Colors, DataFrames, Contour etc.


The package is registered in METADATA.jl and so can be installed with Pkg.add.

julia> Pkg.add("PGFPlotsX")


  • STABLEmost recently tagged version of the documentation.
  • DEVin-development version of the documentation.


You can’t perform that action at this time.