I'm having a remarkable amount of trouble setting the figure size for saving a plo

I’m having a remarkable amount of trouble setting the figure size for saving a plot. All I want is the equivalent of set(gcf, 'PaperPosition', [0 0 8 8]) from matlab. Something to mean that my figures when saved to file are the same size, so i can read them into a latex document. This seems to be an absolute rabbit hole though: https://discourse.julialang.org/t/plots-jl-set-figure-size-for-latex-publications/36960/2

They there in suggest PGFPlotsX, (which I admit I do really like the idea of), but its very tricky to find what the required installation steps are from the package page. I have a functioning lualatex (I’m already using it!) Has anyone had any luck in getting it set up?

Note that the original poster on Slack cannot see your response here on Discourse. Consider transcribing the appropriate answer back to Slack, or pinging the poster here on Discourse so they can follow this thread.
(Original message :slack:) (More Info)

1 Like