|
From: Dima K. <gn...@di...> - 2012-12-26 19:30:46
Attachments:
wxt.regression.png
|
In hunting other bugs, I stumbled on a regression in the wxt terminal. Suppose I have a file called tst.gp such as this: plot '-' notitle ps 3 1 1 2 2 3 3 4 4 5 5 e My .gnuplot is simply set term wxt I invoke gnuplot with gnuplot -persist /tmp/tst.gp The resulting plot is attached. Note the improperly positioned tic labels. This regression happened very recently in this commit: https://github.com/gnuplot/gnuplot/commit/900bbeb73701cd7ed864af2e3cdca0e76e2df8fd dima |
|
From: sfeam (E. Merritt) <eam...@gm...> - 2012-12-26 20:13:15
|
On Wednesday, 26 December 2012, Dima Kogan wrote: > In hunting other bugs, I stumbled on a regression in the wxt terminal. Suppose I > have a file called tst.gp such as this: > > plot '-' notitle ps 3 That's not a valid plot command, and produces only an error message when I try it here. I can't explain the plot you get. Ethan > 1 1 > 2 2 > 3 3 > 4 4 > 5 5 > e > > My .gnuplot is simply > > set term wxt > > I invoke gnuplot with > > gnuplot -persist /tmp/tst.gp > > The resulting plot is attached. Note the improperly positioned tic labels. > > This regression happened very recently in this commit: > > https://github.com/gnuplot/gnuplot/commit/900bbeb73701cd7ed864af2e3cdca0e76e2df8fd > > > dima > |
|
From: Dima K. <gn...@di...> - 2012-12-26 20:28:16
|
> On Wed, 26 Dec 2012 12:13:05 -0800 > "sfeam (Ethan Merritt)" <eam...@gm...> wrote: > > > plot '-' notitle ps 3 > > That's not a valid plot command, > and produces only an error message when I try it here. Wait, what? I make plots in this manner reguarly and have for years. What looks improper about this command? What error message do you get? |
|
From: sfeam (E. Merritt) <eam...@gm...> - 2012-12-27 00:43:57
|
On Wednesday, 26 December 2012, Dima Kogan wrote:
> > On Wed, 26 Dec 2012 12:13:05 -0800
> > "sfeam (Ethan Merritt)" <eam...@gm...> wrote:
> >
> > > plot '-' notitle ps 3
> >
> > That's not a valid plot command,
> > and produces only an error message when I try it here.
> Wait, what? I make plots in this manner reguarly and have for years.
> What looks improper about this command? What error message do you get?
Terminal type set to 'x11'
gnuplot> plot '-' notitle ps 3
^
warning: No pointsize specifier allowed, here
input data ('e' ends) >
|
|
From: Dima K. <gn...@di...> - 2012-12-27 01:04:59
|
> On Wed, 26 Dec 2012 16:43:48 -0800
> "sfeam (Ethan Merritt)" <eam...@gm...> wrote:
>
> On Wednesday, 26 December 2012, Dima Kogan wrote:
> > > On Wed, 26 Dec 2012 12:13:05 -0800
> > > "sfeam (Ethan Merritt)" <eam...@gm...> wrote:
> > >
> > > > plot '-' notitle ps 3
> > >
> > > That's not a valid plot command,
> > > and produces only an error message when I try it here.
>
> > Wait, what? I make plots in this manner reguarly and have for years.
> > What looks improper about this command? What error message do you
> > get?
>
> Terminal type set to 'x11'
> gnuplot> plot '-' notitle ps 3
> ^
> warning: No pointsize specifier allowed, here
> input data ('e' ends) >
Interesting. It works just fine for me. How would you set pointsize?
In any case, the issue I'm describing doesn't depend on the "ps 3" or
the "notitle". I see it with just a "plot '-'" command.
|
|
From: Dmitri A. S. <das...@gm...> - 2012-12-27 01:28:48
|
G N U P L O T
Version 4.7 patchlevel 0 last modified 2012-06-19
Build System: Linux x86_64
Copyright (C) 1986-1993, 1998, 2004, 2007-2012
Thomas Williams, Colin Kelley and many others
gnuplot home: http://www.gnuplot.info
mailing list: gnu...@li...
faq, bugs, etc: type "help FAQ"
immediate help: type "help" (plot window: hit 'h')
Terminal type set to 'wxt'
gnuplot> plot '-' notitle ps 3
input data ('e' ends) > 1 2
input data ('e' ends) > 2 4
input data ('e' ends) > 3 6
input data ('e' ends) > e
gnuplot>
Works with x11 terminal as well...
Dmitri.
--
On Wed, Dec 26, 2012 at 6:43 PM, sfeam (Ethan Merritt)
<eam...@gm...>wrote:
> On Wednesday, 26 December 2012, Dima Kogan wrote:
> > > On Wed, 26 Dec 2012 12:13:05 -0800
> > > "sfeam (Ethan Merritt)" <eam...@gm...> wrote:
> > >
> > > > plot '-' notitle ps 3
> > >
> > > That's not a valid plot command,
> > > and produces only an error message when I try it here.
>
> > Wait, what? I make plots in this manner reguarly and have for years.
> > What looks improper about this command? What error message do you get?
>
> Terminal type set to 'x11'
> gnuplot> plot '-' notitle ps 3
> ^
> warning: No pointsize specifier allowed, here
> input data ('e' ends) >
>
This is just a warning not an error, still it works fine with:
G N U P L O T
Version 4.7 patchlevel 0 last modified 2012-06-19
Build System: Linux x86_64
Copyright (C) 1986-1993, 1998, 2004, 2007-2012
Thomas Williams, Colin Kelley and many others
gnuplot home: http://www.gnuplot.info
mailing list: gnu...@li...
faq, bugs, etc: type "help FAQ"
immediate help: type "help" (plot window: hit 'h')
Terminal type set to 'wxt'
gnuplot> plot '-' notitle ps 3
input data ('e' ends) > 1 2
input data ('e' ends) > 2 4
input data ('e' ends) > 3 6
input data ('e' ends) > e
gnuplot>
Works with x11 terminal as well...
Dmitri.
--
|
|
From: sfeam (E. Merritt) <eam...@gm...> - 2012-12-27 18:48:43
|
On Wednesday, 26 December 2012, Dmitri A. Sergatskov wrote: > G N U P L O T > Version 4.7 patchlevel 0 last modified 2012-06-19 > Build System: Linux x86_64 > > Copyright (C) 1986-1993, 1998, 2004, 2007-2012 > Thomas Williams, Colin Kelley and many others > > gnuplot home: http://www.gnuplot.info > mailing list: gnu...@li... > faq, bugs, etc: type "help FAQ" > immediate help: type "help" (plot window: hit 'h') > > Terminal type set to 'wxt' > gnuplot> plot '-' notitle ps 3 > input data ('e' ends) > 1 2 > input data ('e' ends) > 2 4 > input data ('e' ends) > 3 6 > input data ('e' ends) > e > gnuplot> > > Works with x11 terminal as well... Yes, sorry for dragging in a tangential point. The command works as shown if the current default style is "with points" or "with linespoints". I have "with lines" as the default so I got an error message. The primary problem is the incorrect plot that dima attached. I have managed to re-create this error by turning off the wxt oversampling, so that provides a starting point for debugging. Ethan > > Dmitri. > > On Wednesday, 26 December 2012, Dima Kogan wrote: > > > > On Wed, 26 Dec 2012 12:13:05 -0800 > > > > "sfeam (Ethan Merritt)" <eam...@gm...> wrote: > > > > > > > > > plot '-' notitle ps 3 > > > > > > > > That's not a valid plot command, > > > > and produces only an error message when I try it here. > > > > > Wait, what? I make plots in this manner reguarly and have for years. > > > What looks improper about this command? What error message do you get? > > > > Terminal type set to 'x11' > > gnuplot> plot '-' notitle ps 3 > > ^ > > warning: No pointsize specifier allowed, here > > input data ('e' ends) > > > > > This is just a warning not an error, still it works fine with: > > G N U P L O T > Version 4.7 patchlevel 0 last modified 2012-06-19 > Build System: Linux x86_64 > > Copyright (C) 1986-1993, 1998, 2004, 2007-2012 > Thomas Williams, Colin Kelley and many others > > gnuplot home: http://www.gnuplot.info > mailing list: gnu...@li... > faq, bugs, etc: type "help FAQ" > immediate help: type "help" (plot window: hit 'h') > > Terminal type set to 'wxt' > gnuplot> plot '-' notitle ps 3 > input data ('e' ends) > 1 2 > input data ('e' ends) > 2 4 > input data ('e' ends) > 3 6 > input data ('e' ends) > e > gnuplot> > > Works with x11 terminal as well... > > Dmitri. > -- > |