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
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:
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".
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}
Fixed in 5.4 and 5.5 thanks to Shigeharu Takeno.