Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3043

Labelling bug with xtics offset if y2-axis is activated

From Janis Papanagnou <janis_papanagnou@hotmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Labelling bug with xtics offset if y2-axis is activated
Date 2015-08-17 22:14 +0200
Organization Aioe.org NNTP Server
Message-ID <mqtfa8$v0l$1@speranza.aioe.org> (permalink)

Show all headers | View raw


Can someone who is running an actual gnuplot version please confirm
whether this bug (detected in release 4.4) is still present in the
current release. The wrong behaviour can be found in file out2.png
(see full link given below). - If so, I'd file a bug report...

Here is the complete testcase code:

    set term png medium
    set xdata time
    set format x "%a"
    set timefmt "%Y-%m-%d"
    set xlabel "Date"
    set ylabel "Value"
    # set y2label "Other"
    set xtics 86400
    set mxtics 8
    set ytics 10
    set mytics 2
    # set y2tics 1
    # set my2tics 10
    set xtics offset first 86400/2
    set ytics nomirror
    set term png size 800, 599
    set output "out.png"
    plot "data" using 1:3 axis x1y2 title 'One' smooth csplines lt 3, \
         "data" using 1:2           title 'Two' smooth csplines lt 1

and test data:

    2010-01-15 10 2
    2010-01-16 17 0
    2010-01-17 12 1
    2010-01-20 11 5
    2010-01-22 17 5
    2010-01-23 19 2
    2010-01-25 15 1

The result with the three y2-definitions disabled can be found here:

    http://volatile.gridbug.de/out1.png

and the result with the three y2-definitions active can be seen here:

    http://volatile.gridbug.de/out2.png

As you can see, in the second case the X-axis annotation is flawed, it
contains a spurious "Mon" tag off the drawing area.

Is that misbehaviour still the case with the current gnuplot version, so
that a bug-report shall be issued?

Janis

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

Labelling bug with xtics offset if y2-axis is activated Janis Papanagnou <janis_papanagnou@hotmail.com> - 2015-08-17 22:14 +0200
  Re: Labelling bug with xtics offset if y2-axis is activated Karl-Friedrich Ratzsch <mail.kfr@gmx.net> - 2015-08-18 02:45 +0200
    Re: Labelling bug with xtics offset if y2-axis is activated sfeam <sfeam@users.sourceforge.net> - 2015-08-17 22:13 -0700
      Re: Labelling bug with xtics offset if y2-axis is activated Janis Papanagnou <janis_papanagnou@hotmail.com> - 2015-08-18 14:17 +0200
        Re: Labelling bug with xtics offset if y2-axis is activated Karl-Friedrich Ratzsch <mail.kfr@gmx.net> - 2015-08-18 15:22 +0200
        Re: Labelling bug with xtics offset if y2-axis is activated sfeam <sfeam@users.sourceforge.net> - 2015-08-18 21:37 -0700
    Re: Labelling bug with xtics offset if y2-axis is activated Janis Papanagnou <janis_papanagnou@hotmail.com> - 2015-08-18 14:27 +0200
      Re: Labelling bug with xtics offset if y2-axis is activated Karl-Friedrich Ratzsch <mail.kfr@gmx.net> - 2015-08-18 14:57 +0200

csiph-web