# PGFPlotsX in Visual Studio

**URL:** <https://discourse.julialang.org/t/pgfplotsx-in-visual-studio/73734>\
**Category:** VS Code\
**Tags:** question, package, plotting, pgfplotsx\
**Created:** [December 28, 2021, 11:02pm UTC](https://discourse.julialang.org/t/pgfplotsx-in-visual-studio/73734 "2021-12-28T23:02:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![clizama](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/clizama/32/6816_2.png) [@clizama](https://discourse.julialang.org/u/clizama)\
**Post date:** [December 28, 2021, 11:02pm UTC](https://discourse.julialang.org/t/pgfplotsx-in-visual-studio/73734/1 "2021-12-28T23:02:12Z")

</div>

Hi,

I’m trying to plot using Plots.jl with PGFPlotsX.jl as a backend in Visual Studio.  
I have this error message:  
No LaTeX installation found, figures will not be generated. Make sure either pdflatex or lualatex are installed and that the PATH variable is correctly set.

How do I set the PATH?

I do have latex installed. Furthermore, I can plot using PGFPlotsX using Juno (Atom) and using Jupyter Notebooks. It is only in Visual Studio when the plot fails.

Thank you.

Best,

Carlos
