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: Tait <gnu...@t4...> - 2021-08-17 22:32:54
|
I take the silence to mean nobody else knows or has looked into this either. A bunch of volunteers writing open-source software would have little reason to deal with export control regulations, so perhaps that not surprising. Please do not consider this any sort of remotely authoritative answer! I'm just an uninformed nobody eyeballing things. If you need an ECCN for whatever you're doing, then I believe you'll need to self-certify that gnuplot is EAR99. Ethan and "Balick, Rebekah C [US] (ES)" <Reb...@ng...> said (on 2021/08/02): > Hello, > > I would like to request the ECCN (Export Control Classification Number) for GNUplot 5.0. It should be a 5 or 6 digit code of numbers and letters such as EAR99 or 5D002. I need this in order to maintain the software downloaded. Thank you! > > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta |
|
From: Ethan A M. <me...@uw...> - 2021-08-05 21:40:24
|
Applied. Thanks Ethan On Wednesday, 4 August 2021 20:54:24 PDT Jun T wrote: > On macOS, if I run > > gnuplot> set term aqua > > I get > > warning: invalid terminal font size > > It seems there is no real problem here, but it is somewhat annoying. > > This can be fixed by calling set_font_size() always, i.e., > even if fsize is not specified in the 'set term' command. > (set_font_size() sets term->h_char and v_char) > > > diff --git a/term/aquaterm.trm b/term/aquaterm.trm > index 939ac8411..f24595465 100644 > --- a/term/aquaterm.trm > +++ b/term/aquaterm.trm > @@ -234,7 +234,6 @@ AQUA_options() > if (size > 0) > AQUA_fontSizeDef = size; > AQUA_fontSizeCur = AQUA_fontSizeDef; > - set_font_size(AQUA_fontSizeCur); > > continue; > } > @@ -250,7 +249,6 @@ AQUA_options() > if ((size = real_expression()) > 0) > AQUA_fontSizeDef = size; > AQUA_fontSizeCur = AQUA_fontSizeDef; > - set_font_size(AQUA_fontSizeCur); > continue; > } > > @@ -308,6 +306,7 @@ AQUA_options() > > int_error(c_token, "unexpected text at end of command"); > } > + set_font_size(AQUA_fontSizeCur); > > if (AQUA_title[0]=='\0') /* always set title */ > sprintf(AQUA_title, "Figure %d", AQUA_plotRef); |
|
From: Jun T <tak...@kb...> - 2021-08-05 04:07:40
|
On macOS, if I run
gnuplot> set term aqua
I get
warning: invalid terminal font size
It seems there is no real problem here, but it is somewhat annoying.
This can be fixed by calling set_font_size() always, i.e.,
even if fsize is not specified in the 'set term' command.
(set_font_size() sets term->h_char and v_char)
diff --git a/term/aquaterm.trm b/term/aquaterm.trm
index 939ac8411..f24595465 100644
--- a/term/aquaterm.trm
+++ b/term/aquaterm.trm
@@ -234,7 +234,6 @@ AQUA_options()
if (size > 0)
AQUA_fontSizeDef = size;
AQUA_fontSizeCur = AQUA_fontSizeDef;
- set_font_size(AQUA_fontSizeCur);
continue;
}
@@ -250,7 +249,6 @@ AQUA_options()
if ((size = real_expression()) > 0)
AQUA_fontSizeDef = size;
AQUA_fontSizeCur = AQUA_fontSizeDef;
- set_font_size(AQUA_fontSizeCur);
continue;
}
@@ -308,6 +306,7 @@ AQUA_options()
int_error(c_token, "unexpected text at end of command");
}
+ set_font_size(AQUA_fontSizeCur);
if (AQUA_title[0]=='\0') /* always set title */
sprintf(AQUA_title, "Figure %d", AQUA_plotRef);
|
|
From: Balick, R. C [U. (ES) <Reb...@ng...> - 2021-08-02 16:14:54
|
Hello, I would like to request the ECCN (Export Control Classification Number) for GNUplot 5.0. It should be a 5 or 6 digit code of numbers and letters such as EAR99 or 5D002. I need this in order to maintain the software downloaded. Thank you! |
|
From: Ethan A M. <me...@uw...> - 2021-07-27 06:17:20
|
On Monday, 26 July 2021 22:56:59 PDT Dima Kogan wrote:
> Ethan A Merritt <me...@uw...> writes:
>
> > Not sure I understand what kind of plot you are aiming for, and you
> > don't give an example of the real data format
>
> Hi. The little example was a close approximation to what I want. If it
> helps, here's what I REALLY want. I have a data file with sorted
> timestamps, one per line, that record the time when something failed. I
> want to make a plot of "failures per hour", as a function of time. So I
> want to consolidate the data into bins, but instead of "with boxes", I'd
> like to plot "with lines". Currently this doesn't work the way I want
> because any hour blocks that have 0 failures in them don't get a y=0
> point in the line plot.
>
>
>
> > but how about initializing all the bins to zero?
> >
> > # initialize a bunch of bins to zero
> > set print $BINS
> > do for [i=1:10] { print i, 0.0 }
> > unset print
> > # add the real data to those same bins
> > set table $BINS append
> > plot DATA using (histbin($1)):(1.0) with table
> > unset table
> > # now plot the data as before
> > plot $BINS using 1:2 smooth freq with boxes fill solid border lt -1
>
> That's interesting. Unfortunately I'm using feedgnuplot for this, which
> cannot currently use tables. It expects a single "plot" command to do
> all the work. Suggestions?
Append a boatload of zero-value timepoints to your data file?
Maybe plot '<cat REALDATA ZEROS' using ...
Teach feedgnuplot to do something more than it does now?
Use another interface that doesn't have that limitation?
For instance, have you tried the gaston front-end to gnuplot in julia?
https://mbaz.github.io/Gaston.jl/v0.10.0/
Ethan
|
|
From: Dima K. <gn...@di...> - 2021-07-27 06:16:10
|
Ethan A Merritt <me...@uw...> writes:
> Not sure I understand what kind of plot you are aiming for, and you
> don't give an example of the real data format
Hi. The little example was a close approximation to what I want. If it
helps, here's what I REALLY want. I have a data file with sorted
timestamps, one per line, that record the time when something failed. I
want to make a plot of "failures per hour", as a function of time. So I
want to consolidate the data into bins, but instead of "with boxes", I'd
like to plot "with lines". Currently this doesn't work the way I want
because any hour blocks that have 0 failures in them don't get a y=0
point in the line plot.
> but how about initializing all the bins to zero?
>
> # initialize a bunch of bins to zero
> set print $BINS
> do for [i=1:10] { print i, 0.0 }
> unset print
> # add the real data to those same bins
> set table $BINS append
> plot DATA using (histbin($1)):(1.0) with table
> unset table
> # now plot the data as before
> plot $BINS using 1:2 smooth freq with boxes fill solid border lt -1
That's interesting. Unfortunately I'm using feedgnuplot for this, which
cannot currently use tables. It expects a single "plot" command to do
all the work. Suggestions?
|
|
From: Ethan A M. <me...@uw...> - 2021-07-26 05:52:15
|
Not sure I understand what kind of plot you are aiming for,
and you don't give an example of the real data format,
but how about initializing all the bins to zero?
# initialize a bunch of bins to zero
set print $BINS
do for [i=1:10] { print i, 0.0 }
unset print
# add the real data to those same bins
set table $BINS append
plot DATA using (histbin($1)):(1.0) with table
unset table
# now plot the data as before
plot $BINS using 1:2 smooth freq with boxes fill solid border lt -1
Ethan
On Sunday, 25 July 2021 17:20:13 PDT Dima Kogan wrote:
> Hi. I just tried to patch gnuplot to do something that I thought would
> be simple, but it actually looks like it wouldn't be. Can I get a
> suggestion?
>
> I'm making a simple histogram. This works as expected:
>
> set boxwidth 1
> histbin(x) = floor(0.5 + x)
> plot '-' using (histbin($1)):(1.0) smooth freq with boxes fill solid border lt -1
> 1
> 2
> 4
> 5
> e
>
> Here I get 4 bins of width 1, centered at 1, 2, 4, 5. Notably, there's a
> gap: there's no bin centered at 3. Internally, gnuplot omits this bin
> entirely, instead of producing an empty bin. This matters if you make a
> this plot "with linespoints" instead of "with boxes". I want a plot that
> includes the point (3,0), but the current code doesn't include that
> point. Is there an obvious way to include that?
>
> Thanks!
|
|
From: Dima K. <gn...@di...> - 2021-07-26 00:36:16
|
Hi. I just tried to patch gnuplot to do something that I thought would be simple, but it actually looks like it wouldn't be. Can I get a suggestion? I'm making a simple histogram. This works as expected: set boxwidth 1 histbin(x) = floor(0.5 + x) plot '-' using (histbin($1)):(1.0) smooth freq with boxes fill solid border lt -1 1 2 4 5 e Here I get 4 bins of width 1, centered at 1, 2, 4, 5. Notably, there's a gap: there's no bin centered at 3. Internally, gnuplot omits this bin entirely, instead of producing an empty bin. This matters if you make a this plot "with linespoints" instead of "with boxes". I want a plot that includes the point (3,0), but the current code doesn't include that point. Is there an obvious way to include that? Thanks! |
|
From: Bastian M. <bma...@we...> - 2021-07-15 07:04:49
|
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Ethan,</div>
<div> </div>
<div>The Windows builds for 5.4.2 are just that - builds from the 5.4.2 source release.</div>
<div> </div>
<div>The piping bug #2412 has been confirmed fixed by the commit you mentioned.</div>
<div>It was introduced by an attempt to fix bug #2204 and I am waiting for feedback</div>
<div>on this one. We should only release 5.4.3 with this issue confirmed, too.</div>
<div>
<div> </div>
<div>
<div>In any case the Windows binary already now resolves some serious platform-specific</div>
<div>bugs, including a crash due to initialization errors, see #2223, #2227, #2286,</div>
<div>#2402. So the advisory on not using it at all is too strong in my opinion.</div>
<div> </div>
</div>
<div>Btw. please note that the "-os2" file is for OS/2, eComStation, ArcaOS and "_dj"</div>
<div>is a DOS (32bit) version.</div>
<div>
<div><br/>
Bastian</div>
<div> </div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Donnerstag, 15. Juli 2021 um 06:30 Uhr<br/>
<b>Von:</b> "Ethan A Merritt" <me...@uw...><br/>
<b>An:</b> gnu...@li...<br/>
<b>Cc:</b> "Bastian Märkisch" <bma...@we...><br/>
<b>Betreff:</b> What is the state of the Windows piping bug ?</div>
<div name="quoted-content"><!--p, li {
}
-->
<div style="font-family: "DejaVu Sans";font-size: 10.0pt;font-weight: 400;font-style: normal;">
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;">Bastian:</p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;"> </p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;">Your fix for the WIndows piping bug went into the stable branch on 10 July.</p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;"> </p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;">This was after the nominal release date for version 5.4.2</p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;"> </p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;">The Windows binaries on SourceForge are timestamped that same day.</p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;"> </p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;">gp542-os2-emx.zip 2021-07-11 3.4 MB</p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;">gp541-win64-mingw.7z 2021-07-10 28.8 MB</p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;">gp542_dj.zip 2021-07-10 4.0 MB</p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;">gp542-win64-mingw.exe 2021-07-10 31.7 MB</p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;"> </p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;">Is the fix included in these binaries or not?</p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;"> </p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;">If it is then the README on the download site should say so</p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;">(right now it advises not to use the Windows binaries)</p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;"> </p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;">If it is not - should we put out a quick version 5.4.3 for Windows?</p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;"> </p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;">Commit a501a67a</p>
<p style="margin-top: 0.0px;margin-bottom: 0.0px;margin-left: 0.0px;margin-right: 0.0px;text-indent: 0.0px;"><span style="font-family: monospace;color: rgb(0,0,0);background-color: rgb(255,255,255);">Author: Bastian Maerkisch <bma...@we...> </span><br/>
<span style="font-family: monospace;">Date: Sat Jul 10 20:41:40 2021 +0200<br/>
<br/>
Fix handling Window messages for input from a pipe<br/>
<br/>
As pointed out in bug report #2412, MsgWaitForMultipleObjects() does not work<br/>
as expected if the input comes from a pipe. This reverts 651af6267b<br/>
"Wait for pipe events without additional thread", which aimed at speeding-up<br/>
piped input, Instead of recreating the input thread for every single<br/>
character, we now keep the thread alive and signal an event object on new<br/>
input. This should still be much faster.<br/>
<br/>
Bugs #2412 and #2204</span><br/>
</p>
</div>
</div>
</div>
</div>
</div></div></body></html>
|
|
From: Ethan A M. <me...@uw...> - 2021-07-15 04:31:55
|
Bastian: Your fix for the WIndows piping bug went into the stable branch on 10 July. This was after the nominal release date for version 5.4.2 The Windows binaries on SourceForge are timestamped that same day. gp542-os2-emx.zip 2021-07-11 3.4 MB gp541-win64-mingw.7z 2021-07-10 28.8 MB gp542_dj.zip 2021-07-10 4.0 MB gp542-win64-mingw.exe 2021-07-10 31.7 MB Is the fix included in these binaries or not? If it is then the README on the download site should say so (right now it advises not to use the Windows binaries) If it is not - should we put out a quick version 5.4.3 for Windows? Commit a501a67a Author: Bastian Maerkisch <bma...@we...> |
|
From: Tait <gnu...@t4...> - 2021-06-22 12:00:19
|
I don't know anything about this code, so feel free to tell me I'm misdirected but... In ConsoleGetch(), _get_osfhandle is used on stdin. MS cautions [1] this might not be valid, and ConsoleGetch() does not check h!=-2. GetStdHandle or CreateFile [2] might be a better choice? MsgWaitForMultipleObjects is described as a "very tricky" API [3]. Although nothing else seems to fall afoul of [4]'s recommendations, I don't know why WaitForSingleObject isn't used instead, or just plain ReadFile. MS notes fread locks out other threads [5]. Is the writer ever another thread? As an incidental note, pipes created from cmd like in bug 2412 appear to be anonymous pipes and those do not support asynchronous read/write. [6] I don't think this matters here, but I mention it in case anybody thought they were going to get clever. [1] https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/get-osfhandle?view=msvc-160 [2] https://docs.microsoft.com/en-us/windows/console/console-handles [3] https://docs.microsoft.com/en-us/archive/blogs/larryosterman/things-you-shouldnt-do-part-4-msgwaitformultipleobjects-is-a-very-tricky-api [4] https://devblogs.microsoft.com/oldnewthing/20050217-00/?p=36423 [5] https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/fread?view=msvc-160 [6] https://docs.microsoft.com/en-us/windows/win32/ipc/anonymous-pipe-operations (Dropped CCs because this isn't about the Python problem anymore.) Ethan A Merritt <me...@uw...> said (on 2021/06/19): > ... > My understanding is that this is a known problem when combining specifically > gnuplot version 5.4 and Windows version 10. > > Issue tracker here > https://sourceforge.net/p/gnuplot/bugs/2412/ |
|
From: Ethan A M. <me...@uw...> - 2021-06-19 23:43:07
|
You are operating on Windows 10? I had hoped you would get a response from someone more familiar with Windows than I am, but it seems rather quiet here lately. My understanding is that this is a known problem when combining specifically gnuplot version 5.4 and Windows version 10. Issue tracker here https://sourceforge.net/p/gnuplot/bugs/2412/ There is a suggestion there that reverting commit 651af626 may fix the problem, or at least return it to the same behavior as gnuplot 5.2. If you are able to build gnuplot from the git source and confirm that reverting that commit works, that would be very useful information. best, Ethan On Thursday, 17 June 2021 02:48:15 PDT hua...@si... wrote: > Dear developers of gnuplot,First I want to thank you very much for developing such powerful tool. > I use gnuplot 5.4 in my own python program to check the results of some searching process. > the related code is like follows: > from subprocess import * gnuplot= Popen(r"C:/Progra~1/gnuplot/bin/wgnuplot_pipes.exe", stdin = PIPE, stderr=PIPE,stdout=PIPE) gnuplot.stdin.write(b"set terminal windows \n") gnuplot.stdin.write(b"plot(sin(x)) \n") gnuplot.stdin.flush() > input('Press the Return key to quit: ') #pause gnuplot.stdin.close() > In the above code, after Popen, the main gnuplot window is successfully launched.However, there is no any response for the next instructions, and nothing has happened.My Python version is 3.8.5 > So how to solve the problem ? > Best regards,Wendong > |
|
From: <hua...@si...> - 2021-06-17 09:48:32
|
Dear developers of gnuplot,First I want to thank you very much for developing such powerful tool.
I use gnuplot 5.4 in my own python program to check the results of some searching process.
the related code is like follows:
from subprocess import * gnuplot= Popen(r"C:/Progra~1/gnuplot/bin/wgnuplot_pipes.exe", stdin = PIPE, stderr=PIPE,stdout=PIPE) gnuplot.stdin.write(b"set terminal windows \n") gnuplot.stdin.write(b"plot(sin(x)) \n") gnuplot.stdin.flush()
input('Press the Return key to quit: ') #pause gnuplot.stdin.close()
In the above code, after Popen, the main gnuplot window is successfully launched.However, there is no any response for the next instructions, and nothing has happened.My Python version is 3.8.5
So how to solve the problem ?
Best regards,Wendong
|
|
From: Joachim W. <j.w...@fz...> - 2021-06-10 16:58:17
|
Dear Ethan, thanks for responding four orders of magnitude faster than me. No, there were no test cases in your initial mail. I would be very interest to see my implementation fail. My newly added tests vary gamma/sigma from 1e-180 to 1e+180. Are the problematic values sparse in this interval? Or do the problems only arise for sigma != 1? Anyway, it will be much better to have an algorithm that is proven to converge. Thanks for sharing your code. I could adapt it easily, but I am even more glad to accept your offer that you submit the necessary changes to libcerf as a merge request. I will then release 1.16 within days. Best regards, Joachim |
|
From: Ethan A M. <me...@uw...> - 2021-06-10 16:44:05
|
Joachim:
It is good to hear that you are looking into this.
It was pretty easy to trigger the non-convergence error from gnuplot;
did I not send test cases?
Testing these functions in gnuplot is really easy because you can
sample any desired domain in the complex plane (or in this case [sigma,gamma])
with a single command and plot the result. Glitches or non-convergence or
outright errors and crashes show up immediately.
Sample plots using functions from libcerf are shown here:
http://gnuplot.sourceforge.net/demo_5.5/cerf.html
Some time after I sent you that original note, I went ahead and re-implemented
the function directly in gnuplot. I attach the code to this mail.
Note that it uses a different optimization algorithm (regula falsi)
that unlike the code in libcerf at that time is guaranteed to converge.
This code is from the file libcerf.c in the gnuplot project git repository.
You are welcome to adapt it for inclusion in libcerf, or I would be
willing to do so myself and contribute it.
best regards,
Ethan
On Thursday, 10 June 2021 07:18:03 PDT Joachim Wuttke wrote:
> Dear Ethan,
>
> thank you very much for the kind mail you wrote me more than a year ago.
>
> Today, finally, I looked into the issue. I wrote a new test that computes
> voigt_hwhm for 100'000 different ratios gamma/sigma. As expected, the Newton
> algorithm did not fail a single time. The deviation of the final result from
> the initial estimate is always smaller then 1E-2. The cases I had guarded
> with messages to stderr and an exit statement will never happen. Therefore
> I converted them to assert statements. These improvements are available
> in the freshly released v1.15.
>
> Sorry for not answering earlier.
>
> Kind greetings, Joachim
>
>
>
> On 25/02/2020 20.03, Ethan A Merritt wrote:
> > In response to a gnuplot feature request, I added a wrapper in
> > gnuplot to find the width of the Voight profile by calling libcerf function
> > voigt_hwhm().
> >
> > However on further evaluation this has turned out to be problematic.
> > The current libcerf source for this function deals badly with out-of-range
> > input. It prints to stderr (problematic by itself) and then either
> > - returns an incorrect value
> > - calls exit(-1)
> >
> > A call to exit() from a library routine is almost never a good thing to
> do,
> > since it prevents error-handling and possible recovery by the calling
> > program. Limiting error reporting to a message on stderr also prevents
> > detection and recovery by the calling program.
> >
> > I suggest that it would be preferable to return NaN whenever the
> > input is out of range or the function does not converge.
> >
> > Alternatively libcerf could provide an error-check routine or status variable,
> > but then you would run into issues of thread-safety and so on.
> >
> > I am hoping that the libcerf function can be improved in a subsequent
> > version, but for now I will consider implementing equivalent code
> > directly in gnuplot.
> >
> > Ethan
> >
> >
>
>
--
Ethan A Merritt
Biomolecular Structure Center, K-428 Health Sciences Bldg
MS 357742, University of Washington, Seattle 98195-7742 |
|
From: Joachim W. <j.w...@fz...> - 2021-06-10 14:18:20
|
Dear Ethan, thank you very much for the kind mail you wrote me more than a year ago. Today, finally, I looked into the issue. I wrote a new test that computes voigt_hwhm for 100'000 different ratios gamma/sigma. As expected, the Newton algorithm did not fail a single time. The deviation of the final result from the initial estimate is always smaller then 1E-2. The cases I had guarded with messages to stderr and an exit statement will never happen. Therefore I converted them to assert statements. These improvements are available in the freshly released v1.15. Sorry for not answering earlier. Kind greetings, Joachim On 25/02/2020 20.03, Ethan A Merritt wrote: > In response to a gnuplot feature request, I added a wrapper in > gnuplot to find the width of the Voight profile by calling libcerf function > voigt_hwhm(). > > However on further evaluation this has turned out to be problematic. > The current libcerf source for this function deals badly with out-of-range > input. It prints to stderr (problematic by itself) and then either > - returns an incorrect value > - calls exit(-1) > > A call to exit() from a library routine is almost never a good thing to do, > since it prevents error-handling and possible recovery by the calling > program. Limiting error reporting to a message on stderr also prevents > detection and recovery by the calling program. > > I suggest that it would be preferable to return NaN whenever the > input is out of range or the function does not converge. > > Alternatively libcerf could provide an error-check routine or status variable, > but then you would run into issues of thread-safety and so on. > > I am hoping that the libcerf function can be improved in a subsequent > version, but for now I will consider implementing equivalent code > directly in gnuplot. > > Ethan > > |
|
From: Ethan A M. <me...@uw...> - 2021-06-07 04:31:43
|
Release 5.4.2 is now out
Source tarball
https://sf.net/projects/gnuplot/files/gnuplot/5.4.2/gnuplot-5.4.2.tar.gz
Release Notes
http://gnuplot.sourceforge.net/ReleaseNotes_5_4_2.html
The release contains lots of little fixes. The biggest one from my
perspective is that the single-threaded version of the wxt terminal
is now usable again under linux. Also fixed is the problem that
"set term qt persist" could leave zombie gnuplot_qt processes.
On the other hand, there are known issues under Windows 10
Piped command input does not work reliably (Bugs #2204 #2412)
Export to EMF file from toolbar may not work
So Windows 10 users may want to stick with version 5.2 for now.
When these problems are fixed I figure to put out a version 5.4.3
immediately that may be relevant only to Windows users.
happy gnuplotting,
Ethan
|
|
From: Ethan A M. <me...@uw...> - 2021-06-07 03:05:39
|
Release 5.4.2 is now out
Source tarball
https://sf.net/projects/gnuplot/files/gnuplot/5.4.2/gnuplot-5.4.2.tar.gz
Release Notes
http://gnuplot.sourceforge.net/ReleaseNotes_5_4_2.html
The release contains lots of little fixes. The biggest one from my
perspective is that the single-threaded version of the wxt terminal
is now usable again under linux. Also fixed is the problem that
"set term qt persist" could leave zombie gnuplot_qt processes.
On the other hand, there are known issues under Windows 10
Piped command input does not work reliably (Bugs #2204 #2412)
Export to EMF file from toolbar may not work
So Windows 10 users may want to stick with version 5.2 for now.
When these problems are fixed I figure to put out a version 5.4.3
immediately that may be relevant only to Windows users.
happy gnuplotting,
Ethan
|
|
From: Ethan A M. <me...@uw...> - 2021-05-23 17:28:14
|
I have placed a tarball of version 5.4.2 SourceForge for testing: https://sf.net/projects/gnuplot/files/gnuplot/testing/gnuplot-5.4.2beta.tar.gz Known issue: Piped command input does not work reliably under Windows 10 Have I described this problem correctly? The discussion under Bug #2412 suggests that it can be fixed by reverting commit 651af6267b0270a71c6e0c0c2345f2c01a68eea6 Would it be possible to do that revert for the 5.4.2 release and note that the problem (slow response) in Bug #2204 still needs a permanent fix? cheers, Ethan |
|
From: m s. <mw...@us...> - 2021-03-31 00:48:43
|
On 3/30/2021 8:18 PM, Ethan A Merritt wrote:
> On Tuesday, 30 March 2021 16:35:36 PDT m sutton wrote:
>> Hi all,
>>
>> Here is the script
>>
>> set yrange [-2:2]
>> set y2tics -1,1,1
>> set y2tics add ("top" 1,"middle" 0, "bottom" -1)
>>
>> plot sin(x)
>>
>>
>>
>>
>>
>> The commands place the desired y2axis tics in V5.2.8 and
>> earlier. However, I don't get any y2axis tics in V5.4.1 with
>> either the X11 or QT terminals. I do get this warning message
>> "warning: y2 axis range undefined or overflow".
>>
>> show y2range yields:
>>
>>
>> set y2range [ * : * ] noreverse writeback # (currently
>> [1.00000e+308:-1.00000e+308] )
> You have no data or plot displayed to y2, and no range set,
> so the error message is correct.
This construct has worked for a long time. I just wanted to make sure
something wasn't broken as I upgrade my plotting scripts to V5.4.
>
>> What am I missing?
> Either
> plot sin(x) axes x1y2 # y1 axis is not used at all; autoscale y2
> or
> set link y2 # y2 replicates range and scaling from y1
> plot sin(x)
>
>
My initial thought was to explicitly set y2range, but the set link y2
looks to be more flexible.
Thanks,
MikeS
|
|
From: Ethan A M. <me...@uw...> - 2021-03-31 00:20:14
|
On Tuesday, 30 March 2021 16:35:36 PDT m sutton wrote:
> Hi all,
>
> Here is the script
>
> set yrange [-2:2]
> set y2tics -1,1,1
> set y2tics add ("top" 1,"middle" 0, "bottom" -1)
>
> plot sin(x)
>
>
>
>
>
> The commands place the desired y2axis tics in V5.2.8 and
> earlier. However, I don't get any y2axis tics in V5.4.1 with
> either the X11 or QT terminals. I do get this warning message
> "warning: y2 axis range undefined or overflow".
>
> show y2range yields:
>
>
> set y2range [ * : * ] noreverse writeback # (currently
> [1.00000e+308:-1.00000e+308] )
You have no data or plot displayed to y2, and no range set,
so the error message is correct.
> What am I missing?
Either
plot sin(x) axes x1y2 # y1 axis is not used at all; autoscale y2
or
set link y2 # y2 replicates range and scaling from y1
plot sin(x)
Ethan
>
> Regards,
>
> MikeS
>
>
>
--
Ethan A Merritt
Biomolecular Structure Center, K-428 Health Sciences Bldg
MS 357742, University of Washington, Seattle 98195-7742
|
|
From: m s. <mw...@us...> - 2021-03-30 23:35:54
|
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi all,</p>
<p>Here is the script</p>
<blockquote>
<p><font face="Courier New, Courier, monospace">set yrange [-2:2]<br>
set y2tics -1,1,1<br>
set y2tics add ("top" 1,"middle" 0, "bottom" -1)<br>
<br>
plot sin(x)<br>
</font></p>
</blockquote>
<p><br>
</p>
<p>The commands place the desired y2axis tics in V5.2.8 and
earlier. However, I don't get any y2axis tics in V5.4.1 with
either the X11 or QT terminals. I do get this warning message
"warning: y2 axis range undefined or overflow".</p>
show y2range yields:<br>
<blockquote>
<p>set y2range [ * : * ] noreverse writeback # (currently
[1.00000e+308:-1.00000e+308] )</p>
</blockquote>
<p>What am I missing?</p>
<p>Regards,</p>
<p>MikeS</p>
<p><br>
</p>
</body>
</html>
|
|
From: Allin C. <cot...@wf...> - 2021-03-25 23:03:49
|
On Thu, 25 Mar 2021, Mojca Miklavec wrote:
> On Wed, 24 Mar 2021 at 00:42, Allin Cottrell wrote:
>>
>> Just wondering: has anyone produced a Mac package of gnuplot
>> targetting OS 11 ("Big Sur") with M1 processor?
>
> There is a package inside package managers (for example in MacPorts, I
> guess it's present in others as well), but that probably doesn't
> count?
> (There might be some issues with wx, but I need to check.)
There are issues with wx. I've built wxWidgets 3.0.5 for arm64, but
I had to drop the dataObject module because it calls on QuickTime
APIs, which are removed in macOS 11. And that means that I had to
hack the gnuplot wxterm code to disable copy-to-clipboard, which
depends on dataObject. There may be a way of performing surgery on
dataObject but I haven't attempted that yet.
So I now have an arm64 build of gnuplot 5.4.1 with wx, but I don't
have access to an M1 Mac so I don't know yet if it actually works.
Allin Cottrell
|
|
From: Ethan A M. <me...@uw...> - 2021-03-25 06:37:27
|
On Wednesday, 24 March 2021 22:48:34 PDT Mojca Miklavec wrote:
> On Wed, 24 Mar 2021 at 00:42, Allin Cottrell wrote:
> >
> > Just wondering: has anyone produced a Mac package of gnuplot
> > targetting OS 11 ("Big Sur") with M1 processor?
>
> There is a package inside package managers (for example in MacPorts, I
> guess it's present in others as well), but that probably doesn't
> count?
> (There might be some issues with wx, but I need to check.)
>
> I tried to create a nice standalone .app years ago, but the fact that
> this requires the terminal to start makes it somewhat annoying for
> bundling.
> (I would find it much easier to bundle it if there was some wx or
> qt-based simplistic terminal available as well.)
Not sure I understand.
You mean run you would like to run gnuplot from, e.g., qterminal
instead of xterm or whatever terminal emulator you have now?
I think it might even be possible to have "set term qt widget <id>"
direct the plot output to a tab of qterminal, but I don't have any
idea how to determine what the widget id would be.
If svg output is acceptable, you can definitely do this using
domterm and telling gnuplot "set term domterm". For that matter
there's a qt version of domterm and I have used it to run gnuplot
with output back to the window it is running in.
So yeah, it's possible.
Ethan
> I know there are workarounds, but I never found the existing bundle
> particularly friendly to use, so I keep using the packager where it's
> also a lot easier to keep the software up to date.
>
> Mojca
>
>
> _______________________________________________
> gnuplot-beta mailing list
> gnu...@li...
> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
>
--
Ethan A Merritt
Biomolecular Structure Center, K-428 Health Sciences Bldg
MS 357742, University of Washington, Seattle 98195-7742
|
|
From: Mojca M. <moj...@gm...> - 2021-03-25 05:49:04
|
On Wed, 24 Mar 2021 at 00:42, Allin Cottrell wrote:
>
> Just wondering: has anyone produced a Mac package of gnuplot
> targetting OS 11 ("Big Sur") with M1 processor?
There is a package inside package managers (for example in MacPorts, I
guess it's present in others as well), but that probably doesn't
count?
(There might be some issues with wx, but I need to check.)
I tried to create a nice standalone .app years ago, but the fact that
this requires the terminal to start makes it somewhat annoying for
bundling.
(I would find it much easier to bundle it if there was some wx or
qt-based simplistic terminal available as well.)
I know there are workarounds, but I never found the existing bundle
particularly friendly to use, so I keep using the packager where it's
also a lot easier to keep the software up to date.
Mojca
|