Menu

#2291 label offset dialog in wgnuplot menu not working

None
closed-fixed
nobody
wgnuplot (7)
2021-06-02
2020-07-18
Anonymous
No

Version 5.2 patchlevel 8
Running on windows 10 with the default wxterminal selected.

Description:
Using the wx terminal on windows and the menus provided creates an error when adding labels.
The produced command appears to be wrong. It should be set offset 2,3 and instead it adds the offset to the end of the set xlabel command.

The workaround is to perform label changes and label offset changes only from the command line.

Example:
Using the Chart menu in the wx terminal,
Select Axis, then X Label. An input box appears, "Tag?"
Input the X axis label

gnuplot> set xlabel "Time" 2,3
^
unexpected or unrecognized token

Discussion

  • Bryan Hord

    Bryan Hord - 2020-07-18

    The deprecated title command format is the same as this wrong label command format. Are they the same issue?

    From the installed help:
    Deprecated in version 4 and removed in version 5:

      set title "Old" 0,-1
      set data linespoints
      plot 1 2 4               # horizontal line at y=1
    
     
  • Ethan Merritt

    Ethan Merritt - 2020-07-24

    Pretty sure this has nothing to do with the wxt terminal. It sounds like you are describing the UI for the windows-specific variant program "wgnuplot".

     
  • Ethan Merritt

    Ethan Merritt - 2020-07-24
    • summary: label offset dialog in wx terminal not working --> label offset dialog in wgnuplot menu not working
    • Group: -->
    • Priority: -->
     
  • Shigeharu TAKENO

    It may be the problem of the menu file of wgnuplot.exe wgnuplot.mnu.

    To fix the problem, to edit the following line of wgnuplot.mnu in "c:\Program Files\gnuplot\bin" (default)
    set xlabel "[INPUT]Label text?[EOS]" [INPUT]X offset, Y offset (eg. 2,3) ?{ENTER}
    to
    set xlabel "[INPUT]Label text?[EOS]" offset [INPUT]X offset, Y offset (eg. 2,3) ?{ENTER}

     
  • Bastian Märkisch

    • labels: --> wgnuplot
     
  • Bastian Märkisch

    • status: open --> pending-fixed
     
  • Bastian Märkisch

    Fixed in 5.4 and 5.5 thanks to Shigeharu Takeno.

     
  • Ethan Merritt

    Ethan Merritt - 2021-06-02
    • Status: pending-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB