You can subscribe to this list here.
| 2001 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(83) |
Nov
(57) |
Dec
(111) |
| 2004 |
Jan
(38) |
Feb
(121) |
Mar
(107) |
Apr
(241) |
May
(102) |
Jun
(190) |
Jul
(239) |
Aug
(158) |
Sep
(184) |
Oct
(193) |
Nov
(47) |
Dec
(68) |
| 2005 |
Jan
(190) |
Feb
(105) |
Mar
(99) |
Apr
(65) |
May
(92) |
Jun
(250) |
Jul
(197) |
Aug
(128) |
Sep
(101) |
Oct
(183) |
Nov
(186) |
Dec
(42) |
| 2006 |
Jan
(102) |
Feb
(122) |
Mar
(154) |
Apr
(196) |
May
(181) |
Jun
(281) |
Jul
(310) |
Aug
(198) |
Sep
(145) |
Oct
(188) |
Nov
(134) |
Dec
(90) |
| 2007 |
Jan
(134) |
Feb
(181) |
Mar
(157) |
Apr
(57) |
May
(81) |
Jun
(204) |
Jul
(60) |
Aug
(37) |
Sep
(17) |
Oct
(90) |
Nov
(122) |
Dec
(72) |
| 2008 |
Jan
(130) |
Feb
(108) |
Mar
(160) |
Apr
(38) |
May
(83) |
Jun
(42) |
Jul
(75) |
Aug
(16) |
Sep
(71) |
Oct
(57) |
Nov
(59) |
Dec
(152) |
| 2009 |
Jan
(73) |
Feb
(213) |
Mar
(67) |
Apr
(40) |
May
(46) |
Jun
(82) |
Jul
(73) |
Aug
(57) |
Sep
(108) |
Oct
(36) |
Nov
(153) |
Dec
(77) |
| 2010 |
Jan
(42) |
Feb
(171) |
Mar
(150) |
Apr
(6) |
May
(22) |
Jun
(34) |
Jul
(31) |
Aug
(38) |
Sep
(32) |
Oct
(59) |
Nov
(13) |
Dec
(62) |
| 2011 |
Jan
(114) |
Feb
(139) |
Mar
(126) |
Apr
(51) |
May
(53) |
Jun
(29) |
Jul
(41) |
Aug
(29) |
Sep
(35) |
Oct
(87) |
Nov
(42) |
Dec
(20) |
| 2012 |
Jan
(111) |
Feb
(66) |
Mar
(35) |
Apr
(59) |
May
(71) |
Jun
(32) |
Jul
(11) |
Aug
(48) |
Sep
(60) |
Oct
(87) |
Nov
(16) |
Dec
(38) |
| 2013 |
Jan
(5) |
Feb
(19) |
Mar
(41) |
Apr
(47) |
May
(14) |
Jun
(32) |
Jul
(18) |
Aug
(68) |
Sep
(9) |
Oct
(42) |
Nov
(12) |
Dec
(10) |
| 2014 |
Jan
(14) |
Feb
(139) |
Mar
(137) |
Apr
(66) |
May
(72) |
Jun
(142) |
Jul
(70) |
Aug
(31) |
Sep
(39) |
Oct
(98) |
Nov
(133) |
Dec
(44) |
| 2015 |
Jan
(70) |
Feb
(27) |
Mar
(36) |
Apr
(11) |
May
(15) |
Jun
(70) |
Jul
(30) |
Aug
(63) |
Sep
(18) |
Oct
(15) |
Nov
(42) |
Dec
(29) |
| 2016 |
Jan
(37) |
Feb
(48) |
Mar
(59) |
Apr
(28) |
May
(30) |
Jun
(43) |
Jul
(47) |
Aug
(14) |
Sep
(21) |
Oct
(26) |
Nov
(10) |
Dec
(2) |
| 2017 |
Jan
(26) |
Feb
(27) |
Mar
(44) |
Apr
(11) |
May
(32) |
Jun
(28) |
Jul
(75) |
Aug
(45) |
Sep
(35) |
Oct
(285) |
Nov
(99) |
Dec
(16) |
| 2018 |
Jan
(8) |
Feb
(8) |
Mar
(42) |
Apr
(35) |
May
(23) |
Jun
(12) |
Jul
(16) |
Aug
(11) |
Sep
(8) |
Oct
(16) |
Nov
(5) |
Dec
(8) |
| 2019 |
Jan
(9) |
Feb
(28) |
Mar
(4) |
Apr
(10) |
May
(7) |
Jun
(4) |
Jul
(4) |
Aug
|
Sep
(4) |
Oct
|
Nov
(23) |
Dec
(3) |
| 2020 |
Jan
(19) |
Feb
(3) |
Mar
(22) |
Apr
(17) |
May
(10) |
Jun
(69) |
Jul
(18) |
Aug
(23) |
Sep
(25) |
Oct
(11) |
Nov
(20) |
Dec
(9) |
| 2021 |
Jan
(1) |
Feb
(7) |
Mar
(9) |
Apr
|
May
(1) |
Jun
(8) |
Jul
(6) |
Aug
(8) |
Sep
(7) |
Oct
|
Nov
(2) |
Dec
(23) |
| 2022 |
Jan
(23) |
Feb
(9) |
Mar
(9) |
Apr
|
May
(8) |
Jun
(1) |
Jul
(6) |
Aug
(8) |
Sep
(30) |
Oct
(5) |
Nov
(4) |
Dec
(6) |
| 2023 |
Jan
(2) |
Feb
(5) |
Mar
(7) |
Apr
(3) |
May
(8) |
Jun
(45) |
Jul
(8) |
Aug
|
Sep
(2) |
Oct
(14) |
Nov
(7) |
Dec
(2) |
| 2024 |
Jan
(4) |
Feb
(4) |
Mar
|
Apr
(7) |
May
(2) |
Jun
(1) |
Jul
|
Aug
(5) |
Sep
|
Oct
|
Nov
(4) |
Dec
(14) |
| 2025 |
Jan
(22) |
Feb
(6) |
Mar
(5) |
Apr
(14) |
May
(6) |
Jun
(11) |
Jul
(19) |
Aug
|
Sep
(17) |
Oct
(1) |
Nov
(2) |
Dec
(18) |
| 2026 |
Jan
|
Feb
|
Mar
(5) |
Apr
|
May
(2) |
Jun
(1) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Tatsuro M. <tma...@ya...> - 2009-02-09 02:00:17
|
Hello Thank you for your information. I will write the note for the distriution page and my web pase written in Japanese. Anyway I will try to newer help format by Microsoft HTML help workshop. Perhaps it will take a lot of time :-). Regards Tatsuro --- Shigeharu TAKENO <sh...@ie...> wrote: > shige 02/07 2009 > ---------------- > > tma...@ya... wrote: > > I have installed wgnuplot to the PC of one of students in my lab. > > The OS is windows vista. I found that old type help file used for wgnuplot is > > not supported on vista > > One solution is to use the following: > > http://www.microsoft.com/downloads/details.aspx?FamilyID=6ebcfad9-d3f5-4365-8070-334cd175d4bb > http://www.microsoft.com/downloads/details.aspx?FamilyID=6ebcfad9-d3f5-4365-8070-334cd175d4bb&displaylang=ja > > +========================================================+ > Shigeharu TAKENO NIigata Institute of Technology > kashiwazaki,Niigata 945-1195 JAPAN > sh...@ie... TEL(&FAX): +81-257-22-8161 > +========================================================+ > -------------------------------------- Yahoo! JAPAN - Internet safety for children and parents. http://pr.mail.yahoo.co.jp/security/ |
|
From: Ethan A M. <merritt@u.washington.edu> - 2009-02-07 23:43:53
|
On Saturday 07 February 2009, pl...@pi... wrote: > Allin Cottrell wrote: > > On Sat, 7 Feb 2009 pl...@pi... wrote: > > > >> the linux textinfo help has also been criticised recently and I find it > >> pretty intractable to use. > >> > >> Would this be an opportunity to convert the help to one unified, > >> cross-platform format? > >> > >> One obvious possibility is HTML. Although it lacks the nice indexing a > >> nd cross referencing facilities of winhelp, it would allow > >> linux/macOS/win* plus web documentation in one hit. This would > >> presumably be plus for maintainability. > > > > Why would HTML necessarily lack nice indexing and > > cross-referencing? > > > > Allin Cottrell > > > > > No, clearly it could be hand coded or some javascript cobbles from > somewhere. What I meant is that winhelp has built-in index and search > facility. What's wrong with the PDF help? It has figures, cross-indexing, an index, etc, generated from TeX. In principle one can similarly generate HTML docs from the same TeX document, but I have not been able to find a very good latex->html convertor. There are several old projects, but none of them seems to be maintained or up to date. > Maybe the help itself could be more helpful. I've spend quite some time > this evening trying to plot a sine wave [0:100] but it comes out really > clunky and distorted. I've been unable to suss out how to set the > interval to something more than useful than four points per cycle. set samples <some-large-number> -- Ethan A Merritt |
|
From: <pl...@pi...> - 2009-02-07 22:33:47
|
Allin Cottrell wrote: > On Sat, 7 Feb 2009 pl...@pi... wrote: > >> the linux textinfo help has also been criticised recently and I find it >> pretty intractable to use. >> >> Would this be an opportunity to convert the help to one unified, >> cross-platform format? >> >> One obvious possibility is HTML. Although it lacks the nice indexing a >> nd cross referencing facilities of winhelp, it would allow >> linux/macOS/win* plus web documentation in one hit. This would >> presumably be plus for maintainability. > > Why would HTML necessarily lack nice indexing and > cross-referencing? > > Allin Cottrell > > No, clearly it could be hand coded or some javascript cobbles from somewhere. What I meant is that winhelp has built-in index and search facility. There is already an html version of the gnuplot built-in help command http://amath.colorado.edu/computing/software/man/gnuplot.html#2635 so I suppose the browser text search provides a rudimentary search ability although it's not as useful as winhelp topics can be in finding which match relates to what you are looking for. Maybe the help itself could be more helpful. I've spend quite some time this evening trying to plot a sine wave [0:100] but it comes out really clunky and distorted. I've been unable to suss out how to set the interval to something more than useful than four points per cycle. That is more a criticism of the content than the format though. |
|
From: Petr M. <mi...@ph...> - 2009-02-07 17:51:43
|
> > > > > > The intent is to update GPVAL_TERM_WINDOWID when the main program receives a
> > > > > > "new window" event from gnuplot_x11, right?
> > > > > >
> > > > > > I am trying to point out that not every command "set term x11 <num>" creates
> > > > > > a new window. If an old window is re-used, you won't receive this event and
> > > > > > therefore GPVAL_TERM_WINDOWID will not be updated.
> > > > > >
> > > > > > The patch currently has the event generated each time the buffered command
> > > > > > list is re-executed, which I think is not right. Probably it should go in
> > > > > > pr_window(), immediately after the call to XCreateWindow().
> > > > >
> > > > > When I tested it, it was filling the variable after the "plot" command has
> > > > > been completed (not after "set term x11"), i.e. after the graph has been
> > > > > drawn.
> > > >
> > > > I think the correct patch on the gplt_x11.c end is something like the one
> > > > attached here.
> > >
> > > Fine, it send the ID; however, it does not resend the current one after
> > > change of the active window:
> >
> > > gnuplot> set term x11 1; test; print sprintf("%x", GPVAL_X11_WINDOWID)
> > > gplt_x11.c:5918: SENDING NEW WINDOWID 0x540008a TO GNUPLOT...
> > > 540008a
> > > gnuplot> set term x11 2; test; print sprintf("%x", GPVAL_X11_WINDOWID)
> > > gplt_x11.c:5918: SENDING NEW WINDOWID 0x54000a6 TO GNUPLOT...
> > > 54000a6
> > > gnuplot> set term x11 1; test; print sprintf("%x", GPVAL_X11_WINDOWID)
> > > 54000a6
> >
> > That's exactly what I've been trying to point out all along!
> > Glad we agree :-)
>
> I'm not so sure whether you also think it is a bug to be fixed, because the
> ID needs to be sent after each new activation, i.e.
>
> set term x11 1
> plot sth ---> now send the ID
> plot sth ... no need to send the ID
> plot sth ... no need to send the ID
> plot sth ... no need to send the ID
>
> set term x11 2
> plot sth ---> now send the ID
> plot sth ... no need to send the ID
> plot sth ... no need to send the ID
>
> set term x11 1
> plot sth ---> now send the ID
> plot sth ... no need to send the ID
> plot sth ... no need to send the ID
>
> and your patch does not do that.
It seems that the ID has to be really sent after "set term x11 + plot":
gnuplot> set term x11 1; plot x; system('xwininfo | grep -w id')
Terminal type set to 'x11'
Options are '1 nopersist'
xwininfo: Window id: 0x5e0008a "Gnuplot 1"
gnuplot> set term x11 2; plot x*x; system('xwininfo | grep -w id')
Terminal type set to 'x11'
Options are '2 nopersist'
xwininfo: Window id: 0x5e000a3 "Gnuplot 2"
gnuplot> !killall gnuplot_x11
!
gnuplot> set term x11 2; plot x*x; system('xwininfo | grep -w id')
Terminal type set to 'x11'
Options are '2 nopersist'
xwininfo: Window id: 0x5e0008a "Gnuplot"
---
PM
|
|
From: Allin C. <cot...@wf...> - 2009-02-07 17:00:03
|
On Sat, 7 Feb 2009 pl...@pi... wrote: > the linux textinfo help has also been criticised recently and I find it > pretty intractable to use. > > Would this be an opportunity to convert the help to one unified, > cross-platform format? > > One obvious possibility is HTML. Although it lacks the nice indexing a > nd cross referencing facilities of winhelp, it would allow > linux/macOS/win* plus web documentation in one hit. This would > presumably be plus for maintainability. Why would HTML necessarily lack nice indexing and cross-referencing? Allin Cottrell |
|
From: <pl...@pi...> - 2009-02-07 10:18:04
|
Shigeharu TAKENO wrote: > shige 02/07 2009 > ---------------- > > tma...@ya... wrote: >> I have installed wgnuplot to the PC of one of students in my lab. >> The OS is windows vista. I found that old type help file used for wgnuplot is >> not supported on vista > > One solution is to use the following: > > http://www.microsoft.com/downloads/details.aspx?FamilyID=6ebcfad9-d3f5-4365-8070-334cd175d4bb > http://www.microsoft.com/downloads/details.aspx?FamilyID=6ebcfad9-d3f5-4365-8070-334cd175d4bb&displaylang=ja > HI, the linux textinfo help has also been criticised recently and I find it pretty intractable to use. Would this be an opportunity to convert the help to one unified, cross-platform format? One obvious possibility is HTML. Although it lacks the nice indexing a nd cross referencing facilities of winhelp, it would allow linux/macOS/win* plus web documentation in one hit. This would presumably be plus for maintainability. |
|
From: Shigeharu T. <sh...@ie...> - 2009-02-07 08:44:09
|
shige 02/07 2009 ---------------- tma...@ya... wrote: > I have installed wgnuplot to the PC of one of students in my lab. > The OS is windows vista. I found that old type help file used for wgnuplot is > not supported on vista One solution is to use the following: http://www.microsoft.com/downloads/details.aspx?FamilyID=6ebcfad9-d3f5-4365-8070-334cd175d4bb http://www.microsoft.com/downloads/details.aspx?FamilyID=6ebcfad9-d3f5-4365-8070-334cd175d4bb&displaylang=ja +========================================================+ Shigeharu TAKENO NIigata Institute of Technology kashiwazaki,Niigata 945-1195 JAPAN sh...@ie... TEL(&FAX): +81-257-22-8161 +========================================================+ |
|
From: Petr M. <mi...@ph...> - 2009-02-07 08:09:07
|
> > > > > The intent is to update GPVAL_TERM_WINDOWID when the main program receives a
> > > > > "new window" event from gnuplot_x11, right?
> > > > >
> > > > > I am trying to point out that not every command "set term x11 <num>" creates
> > > > > a new window. If an old window is re-used, you won't receive this event and
> > > > > therefore GPVAL_TERM_WINDOWID will not be updated.
> > > > >
> > > > > The patch currently has the event generated each time the buffered command
> > > > > list is re-executed, which I think is not right. Probably it should go in
> > > > > pr_window(), immediately after the call to XCreateWindow().
> > > >
> > > > When I tested it, it was filling the variable after the "plot" command has
> > > > been completed (not after "set term x11"), i.e. after the graph has been
> > > > drawn.
> > >
> > > I think the correct patch on the gplt_x11.c end is something like the one
> > > attached here.
> >
> > Fine, it send the ID; however, it does not resend the current one after
> > change of the active window:
>
> > gnuplot> set term x11 1; test; print sprintf("%x", GPVAL_X11_WINDOWID)
> > gplt_x11.c:5918: SENDING NEW WINDOWID 0x540008a TO GNUPLOT...
> > 540008a
> > gnuplot> set term x11 2; test; print sprintf("%x", GPVAL_X11_WINDOWID)
> > gplt_x11.c:5918: SENDING NEW WINDOWID 0x54000a6 TO GNUPLOT...
> > 54000a6
> > gnuplot> set term x11 1; test; print sprintf("%x", GPVAL_X11_WINDOWID)
> > 54000a6
>
> That's exactly what I've been trying to point out all along!
> Glad we agree :-)
I'm not so sure whether you also think it is a bug to be fixed, because the
ID needs to be sent after each new activation, i.e.
set term x11 1
plot sth ---> now send the ID
plot sth ... no need to send the ID
plot sth ... no need to send the ID
plot sth ... no need to send the ID
set term x11 2
plot sth ---> now send the ID
plot sth ... no need to send the ID
plot sth ... no need to send the ID
set term x11 1
plot sth ---> now send the ID
plot sth ... no need to send the ID
plot sth ... no need to send the ID
and your patch does not do that.
---
PM
|
|
From: Ethan M. <merritt@u.washington.edu> - 2009-02-07 00:59:14
|
On Friday 06 February 2009 15:45:20 Petr Mikulik wrote:
> > On Friday 06 February 2009 13:57:41 Petr Mikulik wrote:
> > > > The intent is to update GPVAL_TERM_WINDOWID when the main program receives a
> > > > "new window" event from gnuplot_x11, right?
> > > >
> > > > I am trying to point out that not every command "set term x11 <num>" creates
> > > > a new window. If an old window is re-used, you won't receive this event and
> > > > therefore GPVAL_TERM_WINDOWID will not be updated.
> > > >
> > > > The patch currently has the event generated each time the buffered command
> > > > list is re-executed, which I think is not right. Probably it should go in
> > > > pr_window(), immediately after the call to XCreateWindow().
> > >
> > > When I tested it, it was filling the variable after the "plot" command has
> > > been completed (not after "set term x11"), i.e. after the graph has been
> > > drawn.
> >
> > I think the correct patch on the gplt_x11.c end is something like the one
> > attached here.
>
> Fine, it send the ID; however, it does not resend the current one after
> change of the active window:
That's exactly what I've been trying to point out all along!
Glad we agree :-)
> gnuplot> set term x11 1; test; print sprintf("%x", GPVAL_X11_WINDOWID)
> gplt_x11.c:5918: SENDING NEW WINDOWID 0x540008a TO GNUPLOT...
> 540008a
> gnuplot> set term x11 2; test; print sprintf("%x", GPVAL_X11_WINDOWID)
> gplt_x11.c:5918: SENDING NEW WINDOWID 0x54000a6 TO GNUPLOT...
> 54000a6
> gnuplot> set term x11 1; test; print sprintf("%x", GPVAL_X11_WINDOWID)
> 54000a6
>
> ---
> PM
>
--
Ethan A Merritt
|
|
From: Petr M. <mi...@ph...> - 2009-02-06 23:45:34
|
> On Friday 06 February 2009 13:57:41 Petr Mikulik wrote:
> > > The intent is to update GPVAL_TERM_WINDOWID when the main program receives a
> > > "new window" event from gnuplot_x11, right?
> > >
> > > I am trying to point out that not every command "set term x11 <num>" creates
> > > a new window. If an old window is re-used, you won't receive this event and
> > > therefore GPVAL_TERM_WINDOWID will not be updated.
> > >
> > > The patch currently has the event generated each time the buffered command
> > > list is re-executed, which I think is not right. Probably it should go in
> > > pr_window(), immediately after the call to XCreateWindow().
> >
> > When I tested it, it was filling the variable after the "plot" command has
> > been completed (not after "set term x11"), i.e. after the graph has been
> > drawn.
>
> I think the correct patch on the gplt_x11.c end is something like the one
> attached here.
Fine, it send the ID; however, it does not resend the current one after
change of the active window:
gnuplot> set term x11 1; test; print sprintf("%x", GPVAL_X11_WINDOWID)
gplt_x11.c:5918: SENDING NEW WINDOWID 0x540008a TO GNUPLOT...
540008a
gnuplot> set term x11 2; test; print sprintf("%x", GPVAL_X11_WINDOWID)
gplt_x11.c:5918: SENDING NEW WINDOWID 0x54000a6 TO GNUPLOT...
54000a6
gnuplot> set term x11 1; test; print sprintf("%x", GPVAL_X11_WINDOWID)
54000a6
---
PM
|
|
From: Tim H. <tim...@un...> - 2009-02-06 23:41:08
|
Consider the script (run with CVS version) plot x**2 pause mouse any plot changes focus to graph window. In wgnuplot.exe the pause command is finished on key press even though the graph window is in focus. In gnuplot.exe this doesn't work. I have to set focus back to the console window before pause can be ended. "pause <time>" times out as it should. But "pause -1" and all "pause mouse" commands require manually switching back to the console. I also noticed that plot changes the focus to the graph window only when gnuplot.exe is called with a scriptfile. In interactive operation the focus stays on the the console window. Is this different behaviour intended? Tim |
|
From: Ethan M. <merritt@u.washington.edu> - 2009-02-06 23:08:09
|
On Friday 06 February 2009 13:57:41 Petr Mikulik wrote: > > The intent is to update GPVAL_TERM_WINDOWID when the main program receives a > > "new window" event from gnuplot_x11, right? > > > > I am trying to point out that not every command "set term x11 <num>" creates > > a new window. If an old window is re-used, you won't receive this event and > > therefore GPVAL_TERM_WINDOWID will not be updated. > > > > The patch currently has the event generated each time the buffered command > > list is re-executed, which I think is not right. Probably it should go in > > pr_window(), immediately after the call to XCreateWindow(). > > When I tested it, it was filling the variable after the "plot" command has > been completed (not after "set term x11"), i.e. after the graph has been > drawn. I think the correct patch on the gplt_x11.c end is something like the one attached here. -- Ethan A Merritt |
|
From: Ethan M. <merritt@u.washington.edu> - 2009-02-06 22:45:45
|
On Friday 06 February 2009 13:57:41 Petr Mikulik wrote: > > The intent is to update GPVAL_TERM_WINDOWID when the main program receives a > > "new window" event from gnuplot_x11, right? > > > > I am trying to point out that not every command "set term x11 <num>" creates > > a new window. If an old window is re-used, you won't receive this event and > > therefore GPVAL_TERM_WINDOWID will not be updated. > > > > The patch currently has the event generated each time the buffered command > > list is re-executed, which I think is not right. Probably it should go in > > pr_window(), immediately after the call to XCreateWindow(). > > When I tested it, it was filling the variable after the "plot" command has > been completed (not after "set term x11"), i.e. after the graph has been > drawn. Yes, exactly. Therefore it is not correct. Try rotating a 3D plot and you will see that it is trying to re-evaluate and re-send the window id on every refresh. This slows things down impossibly. -- Ethan A Merritt |
|
From: Petr M. <mi...@ph...> - 2009-02-06 22:15:11
|
> The intent is to update GPVAL_TERM_WINDOWID when the main program receives a > "new window" event from gnuplot_x11, right? > > I am trying to point out that not every command "set term x11 <num>" creates > a new window. If an old window is re-used, you won't receive this event and > therefore GPVAL_TERM_WINDOWID will not be updated. > > The patch currently has the event generated each time the buffered command > list is re-executed, which I think is not right. Probably it should go in > pr_window(), immediately after the call to XCreateWindow(). When I tested it, it was filling the variable after the "plot" command has been completed (not after "set term x11"), i.e. after the graph has been drawn. Petr |
|
From: Ben A. <bpa...@ma...> - 2009-02-06 22:06:02
|
On Friday, February 06, 2009, at 04:27PM, "Petr Mikulik" <mi...@ph...> wrote: >> >It does update the GPVAL_TERM_WINDOWID variable, please try the proposed >> >patch. >> > >> I've build gnuplot with the current sources and with your patch applied. >> >> Terminal type set to 'x11' >> gnuplot> plot sin(x) >> gnuplot> gplt_x11.c:1528: SENDING MY WINDOWID TO GNUPLOT... >> mouse.c:1854: set current_x11_windowid to 12345 >> >> When I try a "show all" I do not see any variables that look like >> GPVAL_TERM_WINDOWID. In fact, I don't see any variables beginning with >> "GPVAL_...". > >Use > show var all > >Petr ok. Thanks |
|
From: Petr M. <mi...@ph...> - 2009-02-06 21:28:01
|
> >It does update the GPVAL_TERM_WINDOWID variable, please try the proposed > >patch. > > > I've build gnuplot with the current sources and with your patch applied. > > Terminal type set to 'x11' > gnuplot> plot sin(x) > gnuplot> gplt_x11.c:1528: SENDING MY WINDOWID TO GNUPLOT... > mouse.c:1854: set current_x11_windowid to 12345 > > When I try a "show all" I do not see any variables that look like > GPVAL_TERM_WINDOWID. In fact, I don't see any variables beginning with > "GPVAL_...". Use show var all Petr |
|
From: Ben A. <bpa...@ma...> - 2009-02-06 21:07:13
|
On Friday, February 06, 2009, at 12:38PM, "Petr Mikulik" <mi...@ph...> wrote: >> https://sourceforge.net/tracker/index.php?func=detail&aid=2570385&group_id=2055&atid=302055 >> [ 2570385 ] GPVAL_X11_WINDOWID >> >> > > 3. New global variable current_x11_windowid should be placed in an .h + .c >> > > file. Which one? >> > >> > > That will probably not work. There can be multiple x11 windows open at >> > > the same time, so there is no "current" one. Since you can associate a >> > > window number with each one, however, we might be able to do: >> > > set term x11 5 >> > > print TERM_X11_WINDOW_5_ID >> > >> > The current one is the current active one. It is the last one from "set term >> > x11". The value of GPVAL_TERM_WINDOWID is to be used by a front-end (such as >> > Octave) using gnuplot for drawings; thus, it can fetch the Window ID just >> > after the plot command. >> >> But "set term x11 5" will not necessarily open a new window; it will re-use >> the old window #5 if there is one. So it will not necessarily trigger a >> window creation event, and thus would not automatically update your proposed >> *_CURRENT_* variable. I suppose the terminal driver could maintain a list >> of previously-created window ids. > >It does update the GPVAL_TERM_WINDOWID variable, please try the proposed >patch. > Petr, I've build gnuplot with the current sources and with your patch applied. Terminal type set to 'x11' gnuplot> plot sin(x) gnuplot> gplt_x11.c:1528: SENDING MY WINDOWID TO GNUPLOT... mouse.c:1854: set current_x11_windowid to 12345 When I try a "show all" I do not see any variables that look like GPVAL_TERM_WINDOWID. In fact, I don't see any variables beginning with "GPVAL_...". I'm obvioulsy missing something. Ben |
|
From: Ethan M. <merritt@u.washington.edu> - 2009-02-06 20:39:43
|
On Friday 06 February 2009 09:38:10 Petr Mikulik wrote: > > https://sourceforge.net/tracker/index.php?func=detail&aid=2570385&group_id=2055&atid=302055 > > [ 2570385 ] GPVAL_X11_WINDOWID > > > > > > 3. New global variable current_x11_windowid should be placed in an .h + .c > > > > file. Which one? > > > > > > > That will probably not work. There can be multiple x11 windows open at > > > > the same time, so there is no "current" one. Since you can associate a > > > > window number with each one, however, we might be able to do: > > > > set term x11 5 > > > > print TERM_X11_WINDOW_5_ID > > > > > > The current one is the current active one. It is the last one from "set term > > > x11". The value of GPVAL_TERM_WINDOWID is to be used by a front-end (such as > > > Octave) using gnuplot for drawings; thus, it can fetch the Window ID just > > > after the plot command. > > > > But "set term x11 5" will not necessarily open a new window; it will re-use > > the old window #5 if there is one. So it will not necessarily trigger a > > window creation event, and thus would not automatically update your proposed > > *_CURRENT_* variable. I suppose the terminal driver could maintain a list > > of previously-created window ids. > > It does update the GPVAL_TERM_WINDOWID variable, please try the proposed > patch. The intent is to update GPVAL_TERM_WINDOWID when the main program receives a "new window" event from gnuplot_x11, right? I am trying to point out that not every command "set term x11 <num>" creates a new window. If an old window is re-used, you won't receive this event and therefore GPVAL_TERM_WINDOWID will not be updated. The patch currently has the event generated each time the buffered command list is re-executed, which I think is not right. Probably it should go in pr_window(), immediately after the call to XCreateWindow(). -- Ethan A Merritt |
|
From: Petr M. <mi...@ph...> - 2009-02-06 17:48:57
|
> > There is a strange error happening with a not-yet-used variable: > > > > gnuplot> load 'bug.gp' > > "bug.gp", line 4: warning: b is not a string variable > > > > where bug.gp: > > > > set macros > > a='' > > if (1) a="plot x"; @a > > if (1) b="plot x*x"; @b > > This has always been a limitation on the use of macros. > The substitution is done for each whole line as the line > is read in, before any of the commands on that line have > been executed. I see; a better demonstration of this effect it rather this one: set macros a='print 789' if (1) a="print 123"; @a if (1) b="print 456"; @b The solution seems to be: set macros if (1) b="print 999" if (1) @b > For most purposes, the use of macros has been entirely supplanted > by string variables. In the case above: > > if (1) a="plot x"; evaluate(a) Thanks for this hint, it works fine in gnuplot-cvs. Finally I had to use the construct with macros because the script had to run on gnuplot 4.2.x. --- PM |
|
From: Petr M. <mi...@ph...> - 2009-02-06 17:38:19
|
> https://sourceforge.net/tracker/index.php?func=detail&aid=2570385&group_id=2055&atid=302055 > [ 2570385 ] GPVAL_X11_WINDOWID > > > > 3. New global variable current_x11_windowid should be placed in an .h + .c > > > file. Which one? > > > > > That will probably not work. There can be multiple x11 windows open at > > > the same time, so there is no "current" one. Since you can associate a > > > window number with each one, however, we might be able to do: > > > set term x11 5 > > > print TERM_X11_WINDOW_5_ID > > > > The current one is the current active one. It is the last one from "set term > > x11". The value of GPVAL_TERM_WINDOWID is to be used by a front-end (such as > > Octave) using gnuplot for drawings; thus, it can fetch the Window ID just > > after the plot command. > > But "set term x11 5" will not necessarily open a new window; it will re-use > the old window #5 if there is one. So it will not necessarily trigger a > window creation event, and thus would not automatically update your proposed > *_CURRENT_* variable. I suppose the terminal driver could maintain a list > of previously-created window ids. It does update the GPVAL_TERM_WINDOWID variable, please try the proposed patch. --- PM |
|
From: Ethan M. <merritt@u.washington.edu> - 2009-02-06 17:02:34
|
On Friday 06 February 2009 00:45:40 Petr Mikulik wrote: > > 3. New global variable current_x11_windowid should be placed in an .h + .c > > file. Which one? > > > That will probably not work. There can be multiple x11 windows open at > > the same time, so there is no "current" one. Since you can associate a > > window number with each one, however, we might be able to do: > > set term x11 5 > > print TERM_X11_WINDOW_5_ID > > The current one is the current active one. It is the last one from "set term > x11". The value of GPVAL_TERM_WINDOWID is to be used by a front-end (such as > Octave) using gnuplot for drawings; thus, it can fetch the Window ID just > after the plot command. But "set term x11 5" will not necessarily open a new window; it will re-use the old window #5 if there is one. So it will not necessarily trigger a window creation event, and thus would not automatically update your proposed *_CURRENT_* variable. I suppose the terminal driver could maintain a list of previously-created window ids. -- Ethan A Merritt |
|
From: Ethan A M. <merritt@u.washington.edu> - 2009-02-06 16:28:03
|
On Friday 06 February 2009, Petr Mikulik wrote: > There is a strange error happening with a not-yet-used variable: > > gnuplot> load 'bug.gp' > "bug.gp", line 4: warning: b is not a string variable > > where bug.gp: > > set macros > a='' > if (1) a="plot x"; @a > if (1) b="plot x*x"; @b This has always been a limitation on the use of macros. The substitution is done for each whole line as the line is read in, before any of the commands on that line have been executed. For most purposes, the use of macros has been entirely supplanted by string variables. In the case above: if (1) a="plot x"; evaluate(a); -- Ethan A Merritt |
|
From: Thomas S. <t.s...@fz...> - 2009-02-06 15:55:59
|
it's a timing problem, with 'set term x11' nothing is plotted for 'a' (because 'a' is empty when '@a' is executed), a second '@a' typed in at the prompt results in a plot. the same applies to 'b'. Petr Mikulik wrote: > > There is a strange error happening with a not-yet-used variable: > > gnuplot> load 'bug.gp' > "bug.gp", line 4: warning: b is not a string variable > > where bug.gp: > > set macros > a='' > if (1) a="plot x"; @a > if (1) b="plot x*x"; @b > > --- > PM > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code > to > build responsive, highly engaging applications that combine the power of > local > resources and data with the reach of the web. Download the Adobe AIR SDK > and > Ajax docs to start building applications > today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > -- View this message in context: http://www.nabble.com/if-%281%29-b%3D%22plot-x*x%22--%40b-tp21871348p21875202.html Sent from the Gnuplot - Dev mailing list archive at Nabble.com. |
|
From: Petr M. <mi...@ph...> - 2009-02-06 12:14:00
|
There is a strange error happening with a not-yet-used variable:
gnuplot> load 'bug.gp'
"bug.gp", line 4: warning: b is not a string variable
where bug.gp:
set macros
a=''
if (1) a="plot x"; @a
if (1) b="plot x*x"; @b
---
PM
|
|
From: Petr M. <mi...@ph...> - 2009-02-06 08:45:49
|
> https://sourceforge.net/tracker/index.php?func=detail&aid=2570385&group_id=2055&atid=302055 > [ 2570385 ] GPVAL_X11_WINDOWID I will have a look. > 3. New global variable current_x11_windowid should be placed in an .h + .c > file. Which one? > That will probably not work. There can be multiple x11 windows open at > the same time, so there is no "current" one. Since you can associate a > window number with each one, however, we might be able to do: > set term x11 5 > print TERM_X11_WINDOW_5_ID The current one is the current active one. It is the last one from "set term x11". The value of GPVAL_TERM_WINDOWID is to be used by a front-end (such as Octave) using gnuplot for drawings; thus, it can fetch the Window ID just after the plot command. > 4. Should it be called GPVAL_TERM_WINDOWID or GPVAL_X11_WINDOWID ? The wxt > terminal can run not only under X11, but e.g. under windows as well. Is > there something like window id? > > TERM_something Note there is already GPVAL_TERM. As all automatic variables are prefixed GPVAL_ (except for MOUSE_), the new one should become GPVAL_TERM_WINDOWID. --- PM |