Powerful convenience for Julia visualizations and data analysis http://juliaplots.github.io/
daschw on master
update dependency bounds Merge pull request #283 from da… (compare)
julia-tagbot[bot] on v0.13.0
bar(1:20, errs, xticks = (1:20, labels))
savefig
) in the actual tex
fille
PGFPlotsX.pgfsave
on a Plot
object… but I’m seeing this error: MethodError: no method matching save(::String, ::Plots.Plot{Plots.PGFPlotsXBackend})
savefig
?
savefig
(see earlier message)
pgfsave
on the Plots object. You need something like pgfsave("blah.tex", Plots.backend_object(p))
[slack] <arnavs> In the docs it says
Save the argument (either
TikzDocument
, or some other type which is wrapped in one automatically, egTikzPicture
,Axis
, orPlot
)
MethodError: no method matching save(::String, ::Plots.PGFPlotsXPlot)
pgfsave
?
PGFPlotsX.pgfsave("output/test-plot.tex", Plots.backend_object(p))
Plots.PGFPlotsXPlot
still a Plots
object
Plots.backend_object(p).the_plot
savefig
should just work or there should be specific docs for how to get a working tex output at least
tex_output_standalone = true
…. this would have been a helpful flag to know.
savefig
, but that would probaby do it
include_preamble
option for that here: https://kristofferc.github.io/PGFPlotsX.jl/stable/man/save.html#Exporting-to-files-1 so maybe the Plots interface can expose that option as well