Menu

#2544 White disk behind points with error bars

None
closed-fixed
nobody
None
2025-02-28
2022-08-23
Anonymous
No

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

1 Attachments

Discussion

  • Ethan Merritt

    Ethan Merritt - 2022-08-23
    • status: open --> open-not-a-bug
    • Group: -->
    • Priority: -->
     
  • Ethan Merritt

    Ethan Merritt - 2022-08-23

    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
  • Ethan Merritt

    Ethan Merritt - 2022-08-24
    • status: open-not-a-bug --> pending-fixed
     
  • Ethan Merritt

    Ethan Merritt - 2022-10-15
    • status: pending-fixed --> closed-fixed
     
  • Mathias Zechmeister

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.