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
(5) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Tatsuro M. <tma...@ya...> - 2023-03-09 00:13:54
|
In documents for gnuplot, the OS name for the mac is the Mac OS X or OSX. At present, the Mac OS X or OSX is deprecated. Please use macOS, instead. See: https://en.wikipedia.org/wiki/MacOS Tatsuro |
From: Ethan A M. <me...@uw...> - 2023-03-08 17:56:10
|
On Tuesday, 7 March 2023 11:38:22 PST Juhász Péter wrote: > The following data file + gnuplot script produce incorrect behavior > with a recent git build, indicating possible memory corruption while > reading strings from the data file: > > # -- data file --- > 1;1; > 1;2; > 1aa;3;1.1 > 1;4; > 1;5; > 1;2; > 1;3; > 1;4; > 1;5; > > # -- script ---- > set dataf sep ';' > plot 'foo' u 0:2:(strcol(3)) w labels point > > > On my machine this produces a plot where all points after the third > have the same "1.1" label. When you move the plot around (in an > interactive terminal, e.g. with an arrow key), all points get the same > label. Yes, a bug. Or arguably two bugs. An empty final field in a csv file was correctly flagged as "missing", but the string-handling code did not check for this flag. Instead it used a leftover pointer from a previous string operation. Two fixes now applied to 5.4 6.0 6.1 1) Clear pointer to previous string operation when an empty field is encountered 2) In the string-handling code (df_parse_string_field) substitute a new empty string for a NULL string pointer Ethan > Interestingly, everything seems to work as expected if you remove the > "a"s from the data file. Other, even weirder effects can be coaxed out > of gnuplot if you add some characters to other lines than the third. > > This seems like a bug. I think the explicit non-standard separator and > the field being the last one are both necessary conditions. > > Some background and explanation: > > This report is actually related to an earlier discussion on this list, > where I complained that lines containing missing values are silently > dropped, and that column(i) seemed different from $i. Today I updated > to the current development version, and noticed that my workaround to > the missing values using column() no longer worked. So I experimented > with some things, and at first I've thought that strcol() might be able > to help me, as it didn't seem to be bothered by missing fields, but > then I noticed the weirdness described above. > > As for fixing this bug, I think it is important to preserve strcol()'s > ability to just return the empty string in case of missing data - after > all, it is advertised to return the content of column X as a string. If > the column is empty, then by definition its contents are the empty > string. > > best regards, > Peter Juhasz |
From: Juhász P. <pet...@gm...> - 2023-03-07 19:38:32
|
Dear gnuplot list members, The following data file + gnuplot script produce incorrect behavior with a recent git build, indicating possible memory corruption while reading strings from the data file: # -- data file --- 1;1; 1;2; 1aa;3;1.1 1;4; 1;5; 1;2; 1;3; 1;4; 1;5; # -- script ---- set dataf sep ';' plot 'foo' u 0:2:(strcol(3)) w labels point On my machine this produces a plot where all points after the third have the same "1.1" label. When you move the plot around (in an interactive terminal, e.g. with an arrow key), all points get the same label. Interestingly, everything seems to work as expected if you remove the "a"s from the data file. Other, even weirder effects can be coaxed out of gnuplot if you add some characters to other lines than the third. This seems like a bug. I think the explicit non-standard separator and the field being the last one are both necessary conditions. Some background and explanation: This report is actually related to an earlier discussion on this list, where I complained that lines containing missing values are silently dropped, and that column(i) seemed different from $i. Today I updated to the current development version, and noticed that my workaround to the missing values using column() no longer worked. So I experimented with some things, and at first I've thought that strcol() might be able to help me, as it didn't seem to be bothered by missing fields, but then I noticed the weirdness described above. As for fixing this bug, I think it is important to preserve strcol()'s ability to just return the empty string in case of missing data - after all, it is advertised to return the content of column X as a string. If the column is empty, then by definition its contents are the empty string. best regards, Peter Juhasz |
From: Tatsuro M. <tma...@ya...> - 2023-03-07 10:05:30
|
I wrote the Build instruction on Ubuntu, especially for the development version https://sourceforge.net/p/gnuplot/support-requests/282/ Tatsuro |
From: Ethan A M. <me...@uw...> - 2023-03-02 21:15:18
|
Yes, the webp terminal is built only if the configure script finds the required support libraries. If they are not found it prints a message in the summary output, for instance: libgd-based png jpeg gif sixel: yes (with animated gif) cairo-based pdf png : yes webp : no (requires cairo, pango, libwebp, libwebpmux) lua/TikZ : yes wxt : yes Qt : yes (qt5) The webp and webpmux libraries are available directly from Google https://developers.google.com/speed/webp/download They are included as standard packages in my linux distro (Mageia); I do not know which other distros package them. Ethan On Thu, Mar 2, 2023 at 1:05 AM Tatsuro MATSUOKA via gnuplot-beta < gnu...@li...> wrote: > Does the description of libwebp in any gnuplot documents? > I could nor find it in the INSTALL for 6.1 and 6.0. > To use the webp terminal, one has to install libwebp as dependencies for > 6.0 and 6.1. > > Tatsuro > > > > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > Membership management via: > https://urldefense.com/v3/__https://lists.sourceforge.net/lists/listinfo/gnuplot-beta__;!!K-Hz7m0Vt54!mUI1w0bpE45rtVTUk-Bu-ULyUvolwuj9opPMPR0KwMr-GjCi0IPR720BeSFBPmtoDjUhqUVM6a-0x2lLyjjWdkoara0JsAdzaxSY$ > -- Ethan A Merritt Biomolecular Structure Center, K-428 Health Sciences Bldg MS 357742, University of Washington, Seattle 98195-7742 |
From: Tatsuro M. <tma...@ya...> - 2023-03-02 09:05:53
|
Does the description of libwebp in any gnuplot documents? I could nor find it in the INSTALL for 6.1 and 6.0. To use the webp terminal, one has to install libwebp as dependencies for 6.0 and 6.1. Tatsuro |
From: Ethan A M. <me...@uw...> - 2023-02-16 18:47:00
|
On Thursday, 16 February 2023 00:32:30 PST Tatsuro MATSUOKA via gnuplot-beta wrote: > > Hello > The version number of the development version is still 5.5 on https://urldefense.com/v3/__http://www.gnuplot.info/__;!!K-Hz7m0Vt54!hXW0ERx3Fsinr61H0_3Qut1OKjUPAAc6zBwAeK_IFZ17yXban9T3W1zMih1T3XJRZnB3EKgpOkp4c6YWlIoxtMF5wb0BkY669ZH6$ > > Tatsuro I am still working to update the documentation and demo collection for version 6. They are not ready quite yet, although you can see the current state of the demos at https://gnuplot.sourceforge.net/demo_6.0/ Ethan -- Ethan A Merritt Biomolecular Structure Center, K-428 Health Sciences Bldg MS 357742, University of Washington, Seattle 98195-7742 |
From: Tatsuro M. <tma...@ya...> - 2023-02-16 08:32:48
|
Hello The version number of the development version is still 5.5 on http://www.gnuplot.info/ Tatsuro |
From: Ethan A M. <me...@uw...> - 2023-02-12 04:27:46
|
Release 5.4.6 is now available for download from SourceForge. Many thanks to Tatsuro Matsuoka for preparing Windows binaries. Gnuplot Version 5.4 Patchlevel 6 Version 5.4.6 is an incremental release in the stable 5.4 series. It contains various minor and terminal-specific bug fixes. It also adds two new features back-ported from the development version. (1) new options for fixing the key layout set key columns <exact no of columns> set key keywidth <exact width> (2) XDG support (freedesktop standard configuration files) startup file: $XDG_CONFIG_HOME/gnuplot/gnuplotrc history file: $XDG_STATE_HOME/gnuplot_history wxt configuration: $XDG_CONFIG_HOME/gnuplot/gnuplot-wxt.conf Full list of changes in the release notes. Files: gnuplot-5.4.6.tar.gz source files for all operating systems ReleaseNotes_5_4_6 release notes Gnuplot_5_4.pdf user manual gp546-win64-mingw.7z binary package for Windows gp546-win64-mingw.exe binary package for Windows (self-installing) happy gnuplotting Ethan |
From: Tatsuro M. <tma...@ya...> - 2023-02-07 23:45:02
|
I have executed the test build mingw64(windows). The build and all.dem went well Tatsuro > ----- Original Message ----- > > From: "Ethan A Merritt" > To: "gnuplot-beta > Date: 2023/02/08 水 06:04 > Subject: Gnuplot 5.4.6 release tarball available for testing > > > I have placed a pre-release tarball of 5.4.6 on the testing area of SourceForge > > https://sourceforge.net/projects/gnuplot/files/gnuplot/testing/gnuplot-5.4.6testing.tar.gz > > If no problems are reported, I plan to use this for release > of version 5.4.6 next weekend. > > Changes in 5.4.6 > ================ > * NEW set key {columns <exact no of columns>} > set key {keywidth <exact width>} > * NEW XDG support > startup file: $XDG_CONFIG_HOME/gnuplot/gnuplotrc > history file: $XDG_STATE_HOME/gnuplot_history > wxt configuration: $XDG_CONFIG_HOME/gnuplot/gnuplot-wxt.conf > * CHANGE remove "alldoc" build target > * CHANGE plot with polygons fillstyle empty really does mean empty > * FIX windows: various problems mixing piped input and stdin Bug #2491 > * FIX x11: bad interactions of lt nodraw, bgnd and dash pattern Bug #2572 > * FIX wxt: export-to-file widget should preserve line properties > * FIX svg: set initial default fill to "none" > * FIX png: back-compatibility with very old versions of gdlib Bug #2579 > * FIX variable pointtype, pointsize in plot style yerrorlines > * FIX border color for polygons with variable fillcolor > * FIX definition followed by iteration in a plot command Bug #2580 > * FIX parametric plot with filledcurves y1=<limit> Bug #1797 > > > Ethan > > > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > |
From: Ethan A M. <me...@uw...> - 2023-02-07 21:03:21
|
I have placed a pre-release tarball of 5.4.6 on the testing area of SourceForge https://sourceforge.net/projects/gnuplot/files/gnuplot/testing/gnuplot-5.4.6testing.tar.gz If no problems are reported, I plan to use this for release of version 5.4.6 next weekend. Changes in 5.4.6 ================ * NEW set key {columns <exact no of columns>} set key {keywidth <exact width>} * NEW XDG support startup file: $XDG_CONFIG_HOME/gnuplot/gnuplotrc history file: $XDG_STATE_HOME/gnuplot_history wxt configuration: $XDG_CONFIG_HOME/gnuplot/gnuplot-wxt.conf * CHANGE remove "alldoc" build target * CHANGE plot with polygons fillstyle empty really does mean empty * FIX windows: various problems mixing piped input and stdin Bug #2491 * FIX x11: bad interactions of lt nodraw, bgnd and dash pattern Bug #2572 * FIX wxt: export-to-file widget should preserve line properties * FIX svg: set initial default fill to "none" * FIX png: back-compatibility with very old versions of gdlib Bug #2579 * FIX variable pointtype, pointsize in plot style yerrorlines * FIX border color for polygons with variable fillcolor * FIX definition followed by iteration in a plot command Bug #2580 * FIX parametric plot with filledcurves y1=<limit> Bug #1797 Ethan |
From: Ethan A M. <me...@uw...> - 2023-01-23 19:18:46
|
On Monday, 23 January 2023 01:20:10 PST Tatsuro MATSUOKA via gnuplot-beta wrote: > > In the file INSTALL of source directory, there is description for wxt terminal > Compiling Gnuplot with the wxWidgets terminal > ============================================== > > However, there is no description for Qt terminal. > Is this intentional? The text about wxt was added when the wxt terminal itself was added in 2006. It probably seemed important to inform people that there was a new option that was cross-platform (linux, Mac, and Windows). That no longer seems very special, so I think that text section is no longer needed. No one added similar text when the qt terminal was added in 2009. The INSTALL file is very old and still very out of date. I will make another attempt to revise and update it, including your patches. Ethan |
From: Tatsuro M. <tma...@ya...> - 2023-01-23 09:20:39
|
In the file INSTALL of source directory, there is description for wxt terminal Compiling Gnuplot with the wxWidgets terminal ============================================== However, there is no description for Qt terminal. Is this intentional? Tatsuro |
From: Jun T <tak...@kb...> - 2022-12-16 00:26:02
|
> 2022/12/16 5:16、Ethan A Merritt <me...@uw...>のメール: > > The various Makefile.am rules in other subdirectories also > use "echo" rather than "printf". Was this rule the only > point of failure? In other Makefile.am, argumens of echo do not contain backslash(es); so I think there should be no portability problem. |
From: Ethan A M. <me...@uw...> - 2022-12-15 21:06:43
|
On Thursday, 15 December 2022 08:02:45 PST Jun. T wrote: > With the current git master, 'make pdf' fails on two of my Macs. Got it. Thanks. The various Makefile.am rules in other subdirectories also use "echo" rather than "printf". Was this rule the only point of failure? Ethan > The problem is in docs/Makefile.am: > > 201 ( echo "\usepackage{graphicx}" > gpinsetfigure.tex ; \ > 202 echo "\usepackage{picins}" >> gpinsetfigure.tex ; \ > 203 echo "\newcommand{\gpinsetfigure}[1]{" >> gpinsetfigure.tex ; \ > 204 echo " \parpic[r][rt]{\includegraphics[width=3in,keepaspectratio]{#1}}" >> gpinsetfigure.tex ; \ > 205 echo "}" >> gpinsetfigure.tex ; \ > 206 ) ; \ > 207 $(AM_V_GEN)touch $@ > 208 $(AM_V_GEN)touch figurestyle > > [1] On macOS (at least on some versions), echo builtin of /bin/sh interprets > '\n' as a newline, and the line 203 will output: > > (blank line) > ewcommand{\gpinsetfigure}[1]{ > > to gpinsetfigure.tex, and pdflatex fails. > (I don't know whether this is a bug or feature of macOS) > > [2] (also on Linux, not serious) the '\' at the end of line 206 > should be removed. Otherwise, 'make V=0 pdf' gives an error: > > @echo " GEN " pdf_figures;touch pdf_figures > /bin/sh: @echo: command not found > > A possible patch is attached. > > printf builtin is more portable than echo. > > One of $(AM_V_GEN) is replaced by $(AM_V_at) because they give the > same output when 'make V=0'. > > -- Ethan A Merritt Biomolecular Structure Center, K-428 Health Sciences Bldg MS 357742, University of Washington, Seattle 98195-7742 |
From: Jun. T <tak...@kb...> - 2022-12-15 16:16:12
|
'make html' fails on one of my Mac (intel CPU, macOS Mojave, a rather old version). The problem is in docs/doc2web.c: 507 } else { 508 /* close current file and start a new one */ 509 char newfile[PATH_MAX] = ""; 510 511 end_of_titlepage: (snip) 531 /* open new file */ 532 strcat(newfile,path); 533 strncat(newfile,location,PATH_MAX-strlen(newfile)-6); If we jump into this block by 'goto end_of_titlepage', then newfile[0] is not initialized to '\0', and the strcat() at line 532 does not work as expected. This does not happen on other Macs or on Linux, but I guess C language standard does not guarantee that newfile is initialized after goto. We can simply fix this by replacing strcat() at line 532 by strcpy(newfile, path); (and the initializer = "" at the end of line 509 is redundant) |
From: Jun. T <tak...@kb...> - 2022-12-15 16:16:09
|
With the current git master, 'make pdf' fails on two of my Macs. The problem is in docs/Makefile.am: 201 ( echo "\usepackage{graphicx}" > gpinsetfigure.tex ; \ 202 echo "\usepackage{picins}" >> gpinsetfigure.tex ; \ 203 echo "\newcommand{\gpinsetfigure}[1]{" >> gpinsetfigure.tex ; \ 204 echo " \parpic[r][rt]{\includegraphics[width=3in,keepaspectratio]{#1}}" >> gpinsetfigure.tex ; \ 205 echo "}" >> gpinsetfigure.tex ; \ 206 ) ; \ 207 $(AM_V_GEN)touch $@ 208 $(AM_V_GEN)touch figurestyle [1] On macOS (at least on some versions), echo builtin of /bin/sh interprets '\n' as a newline, and the line 203 will output: (blank line) ewcommand{\gpinsetfigure}[1]{ to gpinsetfigure.tex, and pdflatex fails. (I don't know whether this is a bug or feature of macOS) [2] (also on Linux, not serious) the '\' at the end of line 206 should be removed. Otherwise, 'make V=0 pdf' gives an error: @echo " GEN " pdf_figures;touch pdf_figures /bin/sh: @echo: command not found A possible patch is attached. printf builtin is more portable than echo. One of $(AM_V_GEN) is replaced by $(AM_V_at) because they give the same output when 'make V=0'. |
From: Ethan A M. <me...@uw...> - 2022-12-12 01:05:19
|
I have pushed a new branch-6-0-stable to the git repository for for development and eventual release of a version 6 gnuplot. Further development of version 5 can continue in the main branch (5.5) although I don't foresee much happening on that side. Current state of branch-6-0-stable ---------------------------------- So far the changes from the 5.5 branch are mostly to the documentation. The introductory sections describing new and changed features are revised to focus on version 6; several pages of text about "new" things in version 5 have greatly trimmed back to a summary. Perhaps these could be removed altogether. I have no set timeline for a version 6 release. As a point of reference, transition from version 4->5 took most of a year back in 2014 and went through three release candidates before version 5 was announced. What needs to be done for a version 6? -------------------------------------- I have started a list of choices that should be made. I will post them to the mailing list one at a time for separate discussion. Each one might end in decision to leave things as they are in version 5 (not much work required) or to make a change not appropriate in the context of an update to a "stable' version 5. What about version 5? --------------------- I expect to package 5.4.6 in the first part of 2023, with the usual sort of bug fixes and small additions to the current stable branch. Beyond that I do not know. Depending on how long it takes to test and revise release candidates for version 6, there might be additional updates to 5.4. |
From: Tatsuro M. <tma...@ya...> - 2022-12-12 00:58:40
|
https://sourceforge.net/p/gnuplot/gnuplot-main/ci/0b5abbcf6dd98e30ac422333f051d7f32063251e/ The stable branch for version 6.0 was started. Is the next stable release 6.0.0? The sharpen feature seems to be implemented only to branch-6-0-stable but not to the development branch. Tatsuro |
From: Dima K. <gn...@di...> - 2022-11-30 03:31:00
|
Ethan A Merritt <me...@uw...> writes: > Fixed now. Thank you very much, Ethan! |
From: Ethan A M. <me...@uw...> - 2022-11-29 20:35:27
|
On Monday, 28 November 2022 22:55:34 PST Ethan A Merritt wrote: > On Monday, 28 November 2022 21:52:19 PST Dima Kogan wrote: > > Hi. I'm using a recent gnuplot shipped in Debian, and I'm seeing an odd > > behavior. > > > > I make a trivial .png plot like so: > > > > set terminal pngcairo size 1024,768 notransparent crop > > set output "/tmp/tst.png" > > plot x > > > > Because of the "crop", the resulting image size is a bit smaller than > > requested. "file /tmp/tst.png" says: > > > > tst.png: PNG image data, 995 x 751, 8-bit/color RGB, non-interlaced > > > But if I change the background color by adding to the end of the "set > > terminal" command: > > > > background "#e8dfd0" > > > > then I get a full 1024x768 image. This shouldn't happen: the background > > color should not be doing anything to the image size. > > True. The current code seems to only test for transparent/non-transparent. > It should also test for background/non-background. > > That's a fixable bug specific to cairopng. Fixed now. Ethan |
From: Ethan A M. <me...@uw...> - 2022-11-29 07:55:54
|
On Monday, 28 November 2022 21:52:19 PST Dima Kogan wrote: > Hi. I'm using a recent gnuplot shipped in Debian, and I'm seeing an odd > behavior. > > I make a trivial .png plot like so: > > set terminal pngcairo size 1024,768 notransparent crop > set output "/tmp/tst.png" > plot x > > Because of the "crop", the resulting image size is a bit smaller than > requested. "file /tmp/tst.png" says: > > tst.png: PNG image data, 995 x 751, 8-bit/color RGB, non-interlaced > > Not entirely sure why it's cropping anything here, but that's how it is. It crops all whitespace around the edges, so of course it is smaller. > But if I change the background color by adding to the end of the "set > terminal" command: > > background "#e8dfd0" > > then I get a full 1024x768 image. This shouldn't happen: the background > color should not be doing anything to the image size. True. The current code seems to only test for transparent/non-transparent. It should also test for background/non-background. That's a fixable bug specific to cairopng. You could still clip by filtering the output through an external tool like ImageMagick. Ethan -- Ethan A Merritt Biomolecular Structure Center, K-428 Health Sciences Bldg MS 357742, University of Washington, Seattle 98195-7742 |
From: Dima K. <gn...@di...> - 2022-11-29 06:21:17
|
Hi. I'm using a recent gnuplot shipped in Debian, and I'm seeing an odd behavior. I make a trivial .png plot like so: set terminal pngcairo size 1024,768 notransparent crop set output "/tmp/tst.png" plot x Because of the "crop", the resulting image size is a bit smaller than requested. "file /tmp/tst.png" says: tst.png: PNG image data, 995 x 751, 8-bit/color RGB, non-interlaced Not entirely sure why it's cropping anything here, but that's how it is. But if I change the background color by adding to the end of the "set terminal" command: background "#e8dfd0" then I get a full 1024x768 image. This shouldn't happen: the background color should not be doing anything to the image size. Thanks! |
From: Franco <fra...@ng...> - 2022-10-17 15:08:32
|
Dear Professor Merritt Many thanks for your excellent work and for the commitment in keeping Gnuplot up to date. This page https://www.sixsigmain.it/Blog_AEX.html contains videos of a Gnuplot application (*) perfectly operational both on 5.4.x and on all 5.5.x (released this year). I am sure that with this new feature, the code will be even more simplified. Franco (*) Given your personal background, the videos will be easy to understand. Da: Ethan A Merritt [mailto:me...@uw...] Inviato: sabato 15 ottobre 2022 19:06 A: Tatsuro MATSUOKA <tma...@ya...> Cc: beta <gnu...@li...> Oggetto: Re: Is there any explanation for function block? Function blocks are implemented in a new branch that I have not yet committed. The "local" property for variables was part of that branch but is useful already by itself, so I added it first. The idea of function blocks is similar to datablocks, except that the text in the block is executed as a function rather than used as data. See earlier discussion attached to Bug #2547 https://sourceforge.net/p/gnuplot/bugs/2547/ and Feature Request 521 https://sourceforge.net/p/gnuplot/feature-requests/521/ Here is a draft section of the documentation for the new branch. It still has a few rough edges, but I expect to merge it in the next week or so. The `function` command signals the definition of a here-document containing a named block of gnuplot code that can be called as a function. As with data blocks, the name of a function block must begin with a '$'. Up to nine named parameters may be specified as part of the definition. These names may be used inside the function block as local variables. See `local` and `scope`. Once the function block is defined, you can invoke it by name anywhere that a normal function could be used. Example: function $sinc(arg) << EOF if (arg == 0) { return 1.0 } return sin(arg) / arg EOF gnuplot> plot $sinc(x) with lines title "sinc(x) as a function block" It is not necessary to specify a list of named arguments to a function block at the time it is declared. Arguments to the function passed from the command line can be accessed inside the function block as ARGV[1] etc, as would be the case for a `call` command. See `ARGV`. This allows defining a function block that can operate on a variable number of arguments. The primary motivation for function block support is to allow definition of complicated functions directly in gnuplot. Execution is of course slower than if the same function were coded directly in C or Fortran, but this is acceptable for many purposes. If execution speed matters then the function can be implemented later as a plugin instead (see `plugins`). A non-trivial example of using function blocks to implement and plot a 15-term Lancosz approximation for the complex lngamma function is provided in the demo collection as ^ <a href="http://www.gnuplot.info/demo_5.5/function_block.html"> function_block.dem ^ </a> The function block implementation is slower by a factor of roughly 25 compared to the built-in lnGamma function using the same algorithm coded directly in C. Nevertheless it is still fast enough for 3D interactive rotation. On Fri, Oct 14, 2022 at 11:40 PM Tatsuro MATSUOKA via gnuplot-beta <gnu...@li... <mailto:gnu...@li...> > wrote: I found the option --enable-function-blocks is implemented to the development branch. Is there any explanation for the function block? Tatsuro _______________________________________________ gnuplot-beta mailing list gnu...@li... <mailto:gnu...@li...> Membership management via: https://urldefense.com/v3/__https://lists.sourceforge.net/lists/listinfo/gnuplot-beta__;!!K-Hz7m0Vt54!i-6R1LQEUOPOg9GRf_E7o8MGHFaWf_cXfyDWcdAF0zC6EGVNvS-Yx-0U-vtqT0DdmY1ubirVqocHtClLZsrDvB2_cxG8J_Z9dvdW$ <https://urldefense.com/v3/__https:/lists.sourceforge.net/lists/listinfo/gnuplot-beta__;!!K-Hz7m0Vt54!i-6R1LQEUOPOg9GRf_E7o8MGHFaWf_cXfyDWcdAF0zC6EGVNvS-Yx-0U-vtqT0DdmY1ubirVqocHtClLZsrDvB2_cxG8J_Z9dvdW$> -- Ethan A Merritt Biomolecular Structure Center, K-428 Health Sciences Bldg MS 357742, University of Washington, Seattle 98195-7742 |
From: Ethan A M. <me...@uw...> - 2022-10-15 17:06:32
|
Function blocks are implemented in a new branch that I have not yet committed. The "local" property for variables was part of that branch but is useful already by itself, so I added it first. The idea of function blocks is similar to datablocks, except that the text in the block is executed as a function rather than used as data. See earlier discussion attached to Bug #2547 https://sourceforge.net/p/gnuplot/bugs/2547/ and Feature Request 521 https://sourceforge.net/p/gnuplot/feature-requests/521/ Here is a draft section of the documentation for the new branch. It still has a few rough edges, but I expect to merge it in the next week or so. The `function` command signals the definition of a here-document containing a named block of gnuplot code that can be called as a function. As with data blocks, the name of a function block must begin with a '$'. Up to nine named parameters may be specified as part of the definition. These names may be used inside the function block as local variables. See `local` and `scope`. Once the function block is defined, you can invoke it by name anywhere that a normal function could be used. Example: function $sinc(arg) << EOF if (arg == 0) { return 1.0 } return sin(arg) / arg EOF gnuplot> plot $sinc(x) with lines title "sinc(x) as a function block" It is not necessary to specify a list of named arguments to a function block at the time it is declared. Arguments to the function passed from the command line can be accessed inside the function block as ARGV[1] etc, as would be the case for a `call` command. See `ARGV`. This allows defining a function block that can operate on a variable number of arguments. The primary motivation for function block support is to allow definition of complicated functions directly in gnuplot. Execution is of course slower than if the same function were coded directly in C or Fortran, but this is acceptable for many purposes. If execution speed matters then the function can be implemented later as a plugin instead (see `plugins`). A non-trivial example of using function blocks to implement and plot a 15-term Lancosz approximation for the complex lngamma function is provided in the demo collection as ^ <a href="http://www.gnuplot.info/demo_5.5/function_block.html"> function_block.dem ^ </a> The function block implementation is slower by a factor of roughly 25 compared to the built-in lnGamma function using the same algorithm coded directly in C. Nevertheless it is still fast enough for 3D interactive rotation. On Fri, Oct 14, 2022 at 11:40 PM Tatsuro MATSUOKA via gnuplot-beta < gnu...@li...> wrote: > I found the option --enable-function-blocks is implemented to the > development branch. > > Is there any explanation for the function block? > > Tatsuro > > > > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > Membership management via: > https://urldefense.com/v3/__https://lists.sourceforge.net/lists/listinfo/gnuplot-beta__;!!K-Hz7m0Vt54!i-6R1LQEUOPOg9GRf_E7o8MGHFaWf_cXfyDWcdAF0zC6EGVNvS-Yx-0U-vtqT0DdmY1ubirVqocHtClLZsrDvB2_cxG8J_Z9dvdW$ > > -- Ethan A Merritt Biomolecular Structure Center, K-428 Health Sciences Bldg MS 357742, University of Washington, Seattle 98195-7742 |