Closed pstaabp closed 3 years ago
I think this is an issue with the Plots backend, not this package. @BeastyBlacksmith, can you transfer to the relevant repo?
I decided to add it here because it seems to work in the GR backend, so I thought it might be a PGFPlotsX issue instead.
No problem, we really should make an effort to clarify this (cf #255). Given the information above, without delving into the internals of the backend (in Plots.jl) we cannot easily determine if this is a bug with PGFPlotsX per se, or the way the backend is using it.
Issues with Plots need to be reported to the Plots repo (until they are determined to be a bug with the backend, and in that case need to have an example that is directly using the backend, and not using the Plots wrappers).
I was looking to plot with multiple items with different y-axes. I stumbled across:
from JuliaPlots/Plots.jl#2636. In
GR
this works fine (with some spacing issues), but using the PGFPlotsX backend, we get:where both y-axes are on the left and the x-points of the two curves do not overlay.
Although from JuliaPlots/Plots.jl#594, it appears that
twinx()
is a hidden feature, it seems like there is interest in it.