Menu

#2725 Windows: Running script with -p or via file explorer the cursor stops showing x coords

None
closed-fixed
nobody
None
2025-06-15
2024-07-28
Cesar Rabak
No

In Gnuplot 6 patchlevel 1 Windows version installed with gp601-win64-mingw.exe, running in Windows 10, home ed., single language (non English), ver. 22h2, 19045.4651, when I run a .plt script from within the GUI version, the resultant graph is totally navigable, and the cursor can show in the status line its coords.

However, when either I double click in the File Explorer, or in the command prompt via wgnuplot -p script.plt, the graph appears but then only the "y" coordinate shows, whereas the x one is "inf" for the whole graph canvas.

Is there any way to troubleshoot this?

Related

Bugs: #2725

Discussion

  • Ethan Merritt

    Ethan Merritt - 2024-07-28
    • summary: Running script with -p or via file explorer the cursor stops showing x coords --> Windows: Running script with -p or via file explorer the cursor stops showing x coords
    • Group: -->
    • Priority: -->
     
  • Tatsuro MATSUOKA

    I cannot reproduce the bug. command prompt via wgnuplot -p script.gp, x coodinate appears normally. I examined on gnuplot 6.0.1 on Windows 11.

     

    Last edit: Tatsuro MATSUOKA 2024-07-29
  • Cesar Rabak

    Cesar Rabak - 2024-07-29

    Please see the screen capture of the accomapanying script that generates the plot.

    set grid
    set logscale x
    set xrange [1e+02:1e+05]
    set mxtics 10
    set grid mxtics
    set yrange [-4e+01:1]
    set format y "%g"
    set format x "%g"
    plot '-' with lines lw 1 title "data"
    
    1.000000e+02 -1.728271e-02
    1.258925e+02 -2.735946e-02
    1.584893e+02 -4.328229e-02
    1.995262e+02 -6.839931e-02
    2.511886e+02 -1.079119e-01
    3.162278e+02 -1.698080e-01
    3.981072e+02 -2.661347e-01
    5.011872e+02 -4.145563e-01
    6.309573e+02 -6.398675e-01
    7.943282e+02 -9.746178e-01
    1.000000e+03 -1.457376e+00
    1.258925e+03 -2.127104e+00
    1.584893e+03 -3.013761e+00
    1.995262e+03 -4.128669e+00
    2.511886e+03 -5.460354e+00
    3.162278e+03 -6.978758e+00
    3.981072e+03 -8.644893e+00
    5.011872e+03 -1.042022e+01
    6.309573e+03 -1.227223e+01
    7.943282e+03 -1.417620e+01
    1.000000e+04 -1.611449e+01
    1.258925e+04 -1.807510e+01
    1.584893e+04 -2.005006e+01
    1.995262e+04 -2.203419e+01
    2.511886e+04 -2.402415e+01
    3.162278e+04 -2.601780e+01
    3.981072e+04 -2.801379e+01
    5.011872e+04 -3.001125e+01
    6.309573e+04 -3.200965e+01
    7.943282e+04 -3.400864e+01
    1.000000e+05 -3.600801e+01
    
     
  • Tatsuro MATSUOKA

    I could reproduce the bug with your script. The bug seems to appear when axis in log scale.

     

    Last edit: Tatsuro MATSUOKA 2024-07-30
  • Tatsuro MATSUOKA

    Please test binary package at the below http://tmacchant33.starfree.jp/gnuplot_bin.html .

     
    • Cesar Rabak

      Cesar Rabak - 2024-07-30

      I've just got the downloads and tested with my scripts and they now work as expected.

      Thank you very much.

       
    • Cesar Rabak

      Cesar Rabak - 2024-07-30

      Now it worked, will test and report back.
      Thanks!
      On Tuesday, July 30, 2024 at 12:00:37 AM GMT-3, Tatsuro MATSUOKA tmacchant3@users.sourceforge.net wrote:

      Please test binary package at the below http://tmacchant33.starfree.jp/gnuplot_bin.html .

      [bugs:#2725] Windows: Running script with -p or via file explorer the cursor stops showing x coords

      Status: open
      Priority:
      Created: Sun Jul 28, 2024 09:23 PM UTC by Cesar Rabak
      Last Updated: Tue Jul 30, 2024 12:12 AM UTC

      Owner: nobody
      In Gnuplot 6 patchlevel 1 Windows version installed with gp601-win64-mingw.exe, running in Windows 10, home ed., single language (non English), ver. 22h2, 19045.4651, when I run a .plt script from within the GUI version, the resultant graph is totally navigable, and the cursor can show in the status line its coords.

      However, when either I double click in the File Explorer, or in the command prompt via wgnuplot -p script.plt, the graph appears but then only the "y" coordinate shows, whereas the x one is "inf" for the whole graph canvas.

      Is there any way to troubleshoot this?

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gnuplot/bugs/2725/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #2725

  • Cesar Rabak

    Cesar Rabak - 2024-07-30

    When I navigate to the proposed URL I get:

     
  • Tatsuro MATSUOKA

    The recent patches for logscale seem to repair the bug 2725. This bug will be fixed in the stable branch and thus in the release version.

     
  • Bastian Märkisch

    • status: open --> closed-fixed
     

Log in to post a comment.