#365 Crisp SVG rendering of straight edges


When outputting graphs as SVG, gnuplot should add the "shape-rendering:crispEdges" style definition to all straight line elements, such as the bounding box or the grid lines. This will avoid anti-aliasing artifacts which make the graph look muddy.

Without shape-rendering:crispEdges:

bad example

With shape-rendering:crispEdges:

good example

Diagonal lines should leave this value at auto (anti-aliasing), they look better that way. Only straight lines should be affected.


  • Steffen Siegel

    Steffen Siegel - 2013-06-02

    Correction: The crispEdges style definition shouldn't be mandatory, but gnuplot should give an option to add it. It shouldn't be mandatory as I wrote because there might be cases where it's not desirable.

  • Ethan Merritt

    Ethan Merritt - 2014-03-08

    I tried this. The output looked terrible in all the SVG viewers I tried. So I don't think this attribute is ready for prime time yet.

  • Ethan Merritt

    Ethan Merritt - 2014-03-08
    • status: open --> closed-later
    • Group: -->

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks