KristofferC / PGFPlotsX.jl

Plots in Julia using the PGFPlots LaTeX package
Other
301 stars 40 forks source link

annotation #249

Closed AshtonSBradley closed 3 years ago

AshtonSBradley commented 3 years ago

I am really liking PGFPlotsX as a backend for Plots.jl. Sorry for the noise, I wasn't sure where to ask this question. When using annotate! in Plots.jl, with pgfplotx(), I find that the annotations disappear when outside the axis frame, i.e. above the ylabel.

Is this just a Plots.jl issue? (it doesn't seem to happen in other backends...)

Is there a work around?

Thanks

KristofferC commented 3 years ago

Best way to check these things is to print the generated latex. If that looks reasonable, then it's likely just how pgfplots work.

BambOoxX commented 3 years ago

That is probably due to PGFplots clipping objects by default. See section "4.20.2 Clipping" of the documentation https://www.ctan.org/pkg/pgfplots

KristofferC commented 3 years ago

Closing since it doesn't seem to be an issue with the wrapper.