artisticat1 / obsidian-tikzjax

Render LaTeX and TikZ diagrams in your notes
MIT License
457 stars 27 forks source link

Is it possible to use pfgplots library #28

Open atremblay opened 1 year ago

atremblay commented 1 year ago

I have a vector field created with \addplot3 and I would like to colour it. I am following this blog post https://latexdraw.com/plot-vector-field-in-latex-tikz/ and everything is fine until I reach the point of colouring the vector field. The plugin seems to be unable to use the preamble

\usepgfplotslibrary{colormaps}

Since we can use pgfplots, I am wondering if this additional preamble should be done differently or if it's simply not supported.

Thanks