These are chat archives for jheinen/GR.jl
savefig("plot.tex")doesn't work, and I don't see any references to pgf or tikz in the gr documentation. I did find a pgf plugin in the gr repository; but I also don't see any indication of how plugins are used, let alone whether using this plugin is what I'm looking for.
@zjroth : should be possible, e.g.:
using GR figure(figsize=(6,4)) histogram(randn(100000)) savefig("hist.pgf")
pdflatex hist.pgf # => hist.pdf
Plots, you will have to use the
GKS_WSTYPE environment variable - will check this.
GKSwstype. Setting that to
savefig("hist.pgf")produces a low-resolution .png file (titled "hist.pgf.png"). Unfortunately, though, I don't see any .pgf files.