As title says, the qt term does not accept the linewidth option like other terms, while manually specifying it on a plot command works as expected.
is there a reason for this?
Sorry I have misled. You are right.
On gnuplot 5.0.5 and 5.1(cvs), windows and wxt terminals support linewidth option but qt does not.
gnuplot> set term wxt linewidth 2
Terminal type set to 'wxt'
Options are '0 lw 2 enhanced'
gnuplot> set term qt linewidth 2
Terminal type set to 'qt'
undefined variable: linewidth
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No particular reason that I know of. It was never on the list of features that all terminals should support, so people writing new terminals did not necessarily implement it.
Here are patches to add "linewidth <lt>" as a terminal option to qt and to aquaterm. I cannot test aquaterm myself, so any feedback on whether it works (or even compiles!) would be a good thing.
On pre release of version 5.0.6, linewidth option on "set terminal qt" is implemented.
You can download source file and windows binary packages from the below
What version gnuplot do you use?
At least gnuplot 5.0.5 on windows, qt terminal supports linewidth option.
Sorry I have misled. You are right.
On gnuplot 5.0.5 and 5.1(cvs), windows and wxt terminals support linewidth option but qt does not.
using 5.0.5 on linux
No particular reason that I know of. It was never on the list of features that all terminals should support, so people writing new terminals did not necessarily implement it.
Here are patches to add "linewidth <lt>" as a terminal option to qt and to aquaterm. I cannot test aquaterm myself, so any feedback on whether it works (or even compiles!) would be a good thing.
Ethan
Thanks for preparing patches. I cannot also test aqua term.
I have tested your patch for qt terminal on windows.
Build went well.
linewidth option works with full "linewidth" keyword
but does not work in abbreviated style
While in wxt, it works in abbreviated style
"linewidth <lw>" option added to "set term" and "set termoption" for aquaterm, qt, and wxt terminals in CVS for 5.0 and 5.1.
I have confirmed linewidth option works no set term and set termoption on qt on windows build.
Thanks.
Ethan, can you please also apply the attached patch (linewidth.diff)?
Done.
On pre release of version 5.0.6, linewidth option on "set terminal qt" is implemented.
You can download source file and windows binary packages from the below
https://sourceforge.net/projects/gnuplot/files/gnuplot/5.0%20release%20candidates/
thanks!