You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having trouble controlling the order in which series and lines are rendered using the PGFPlotsX backend. I would like to create a plot where lines appear on top of the symbols. The symbols seem to appear on top of the lines, however, regardless of the order in which the commands are entered.
With GR it seems to work correctly. This produces a plot with the symbols above the lines, as expected,
using Plots
x = 0:pi/8:2*pi
y = sin.(x)
gr()
p1 = plot(x,y)
p1 = scatter!(x,y)
savefig(p1,"symbols_over_lines_gr.png")
and this produces a plot with the lines over the symbols, as expected.
Details
I'm having trouble controlling the order in which series and lines are rendered using the PGFPlotsX backend. I would like to create a plot where lines appear on top of the symbols. The symbols seem to appear on top of the lines, however, regardless of the order in which the commands are entered.
With GR it seems to work correctly. This produces a plot with the symbols above the lines, as expected,
and this produces a plot with the lines over the symbols, as expected.
With PGFPlotsX, however, while this still plots the symbols over the lines, as expected,
this also plots the symbols over the lines.
Any suggestions? Thanks in advance for any help!
Backends
This bug occurs on ( insert
x
below )Versions
Plots.jl version: 1.38.8
Backend version (
]st -m <backend(s)>
): PGFPlotsX 1.5.3Output of
versioninfo()
: Julia Version 1.8.5Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin21.4.0)
CPU: 8 × Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, skylake)
Threads: 6 on 8 virtual cores
The text was updated successfully, but these errors were encountered: