#1205 Faulty svg diagrams with rangelimited

closed-invalid
nobody
2D plot (258)
5
2015-03-23
2013-02-06
No

SVG plots with rangelimited set, causes a diagonal line to be drawn from top-left to bottom-right of the graph.
Checked with 4.4p0 and 4.6p0 under Debian Linux Squeeze and Wheezy.

MWE:
---
# gnuplot file to demonstrate problem with "rangelimited" and svg-plots.

set datafile separator " "
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"
set xtics rangelimited format "%d."

set terminal svg size 400,400 dynamic enhanced dashed
set output 'test.svg'
plot '-' using 1:2 with lines
2012-11-09_10:00:33 43.0
2012-11-10_15:39:08 45.0
2012-11-11_15:50:43 42.0
e
---

Related

Bugs: #1921

Discussion

  • Per Dalgas Jakobsen

    Resulting faulty SVG file

     
  • Ethan Merritt

    Ethan Merritt - 2013-02-06

    The sequence of commands you show does not seem reasonable. Normally if you want to use the option "rangelimited" then you also want to turn off the right and top bounding lines. Adding the commands
    set border 3
    set xtics nomirror
    set ytics nomirror

    produces a more reasonable plot and also does not show that diagonal line artifact. So while I agree that the diagonal line is a bug, I think that the bug can only occur if the plot itself requests an unusual/unreasonable combination of axis properties.

     
  • Ethan Merritt

    Ethan Merritt - 2013-02-20
    • status: open --> closed-invalid
    • milestone: --> 5.0
     

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