Running gnuplot 5.4.4 on macOS 12.4.
Plotting points with errorbars leads to a white disk being drawn under the point, which is a problem when you plot with hollow points as it obscures any points/lines behind it.
See attached test.pdf for an example.
This behaviour is not present in gnuplot 5.2
As with all other plot styles, the order of drawing controls which plots can obscure which other plots. So one option is to place the
with yerrorbars
plot clause before the other components you do not want it to obscure.Alternativley, you can adjust the size of the blanked-out area, or reduce it to zero, using the command
set pointintervalbox 0
Correction: Sorry, I misspoke. setting pointinterval box to zero is treated as "set to default". But it is possible to pick some very small size like
set pointintervalbox 0.01
.Last edit: Ethan Merritt 2022-08-23
unset pointintervalbox
also works.Anyway, I find this a quite unexpected and undesired feature. Thus
pointintervalbox
should not be set by default. Updating gnuplot lead to a number of strange looking plots (backwards compatibility); I didn't know what was going on.Similar,
pointintervalbox 0
seems not to do what is expected.