using PGFPlots
a=plot(rand(20),rand(20))
save("test.pdf", a)ERROR: `save` has no method matching save(::ASCIIString, ::TikzPicture)a = Plot.Linear(rand(20), rand(20))
a = Plots.Linear(rand(20), rand(20))
Pablosave("test.pdf", a)
Error saving as SVG
ERROR: The pdf generation failed.
Be sure your latex libraries are fully up to date!
You tried: `lualatex --enable-write18 --output-directory=. tikzpicture`
The latex on my system (I think a tex live latex on mac) is pdflatex. Does anyone know how I can configure this in PGFPlots?
ThanksYou need to make sure you are running texlive 2014. If you are indeed running texlive 2014, then I'm happy to look into this more deeply with you. Please file an issue with the code you're trying to use to plot. If you want to try digging into it a little on your own, you can follow these steps:1. run "using TikzPictures"2. run "tikzDeleteIntermediate(false)"3. rerun the commands you used to plot4. go into the console and run "lualatex tikzpicture" on the tikzpicture.tex that is generated in the current directory5. the errors you get in step 4 should give a hint as to what is wrong
x = linspace(1,1.1,1000);
xx = 1./x;
using PGFPlots
plot(xx,real(fft(x)))
could not spawn `lualatex --enable-write18 --output-directory=.tikzpicture`: no such file or directory (ENOENT)
...
Error saving as SVG