You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(2) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(3) |
Feb
(1) |
Mar
(2) |
Apr
(22) |
May
(52) |
Jun
(43) |
Jul
(36) |
Aug
(59) |
Sep
(37) |
Oct
(55) |
Nov
(39) |
Dec
(36) |
| 2005 |
Jan
(64) |
Feb
(40) |
Mar
(62) |
Apr
(58) |
May
(256) |
Jun
(77) |
Jul
(80) |
Aug
(39) |
Sep
(56) |
Oct
(36) |
Nov
(113) |
Dec
(68) |
| 2006 |
Jan
(43) |
Feb
(64) |
Mar
(69) |
Apr
(60) |
May
(71) |
Jun
(53) |
Jul
(63) |
Aug
(63) |
Sep
(76) |
Oct
(85) |
Nov
(82) |
Dec
(73) |
| 2007 |
Jan
(75) |
Feb
(82) |
Mar
(84) |
Apr
(104) |
May
(67) |
Jun
(101) |
Jul
(107) |
Aug
(138) |
Sep
(128) |
Oct
(106) |
Nov
(112) |
Dec
(112) |
| 2008 |
Jan
(94) |
Feb
(87) |
Mar
(146) |
Apr
(169) |
May
(75) |
Jun
(26) |
Jul
(26) |
Aug
(7) |
Sep
(18) |
Oct
(53) |
Nov
(42) |
Dec
(19) |
| 2009 |
Jan
(43) |
Feb
(39) |
Mar
(18) |
Apr
(45) |
May
(66) |
Jun
(87) |
Jul
(56) |
Aug
(41) |
Sep
(56) |
Oct
(139) |
Nov
(98) |
Dec
(88) |
| 2010 |
Jan
(81) |
Feb
(79) |
Mar
(83) |
Apr
(97) |
May
(124) |
Jun
(84) |
Jul
(53) |
Aug
(85) |
Sep
(89) |
Oct
(50) |
Nov
(98) |
Dec
(78) |
| 2011 |
Jan
(97) |
Feb
(74) |
Mar
(68) |
Apr
(54) |
May
(63) |
Jun
(59) |
Jul
(65) |
Aug
(58) |
Sep
(37) |
Oct
(40) |
Nov
(59) |
Dec
(35) |
| 2012 |
Jan
(16) |
Feb
(56) |
Mar
(63) |
Apr
(25) |
May
(48) |
Jun
(58) |
Jul
(20) |
Aug
(13) |
Sep
(43) |
Oct
(35) |
Nov
(20) |
Dec
(17) |
| 2013 |
Jan
(22) |
Feb
(11) |
Mar
(51) |
Apr
(34) |
May
(57) |
Jun
(27) |
Jul
(70) |
Aug
(30) |
Sep
(38) |
Oct
(53) |
Nov
(40) |
Dec
(25) |
| 2014 |
Jan
(26) |
Feb
(35) |
Mar
(60) |
Apr
(12) |
May
(17) |
Jun
(15) |
Jul
(9) |
Aug
(18) |
Sep
(46) |
Oct
(18) |
Nov
(19) |
Dec
(15) |
| 2015 |
Jan
(17) |
Feb
(28) |
Mar
(21) |
Apr
(54) |
May
(36) |
Jun
(8) |
Jul
(30) |
Aug
(13) |
Sep
(3) |
Oct
(28) |
Nov
(3) |
Dec
(3) |
| 2016 |
Jan
(11) |
Feb
(9) |
Mar
(29) |
Apr
(10) |
May
(8) |
Jun
(5) |
Jul
(50) |
Aug
(57) |
Sep
(13) |
Oct
(5) |
Nov
(17) |
Dec
(11) |
| 2017 |
Jan
(3) |
Feb
(23) |
Mar
(16) |
Apr
(7) |
May
(15) |
Jun
(12) |
Jul
(48) |
Aug
(15) |
Sep
(3) |
Oct
(20) |
Nov
(28) |
Dec
(21) |
| 2018 |
Jan
(13) |
Feb
(21) |
Mar
(21) |
Apr
(7) |
May
(3) |
Jun
(7) |
Jul
(27) |
Aug
(38) |
Sep
(4) |
Oct
(30) |
Nov
(22) |
Dec
|
| 2019 |
Jan
(5) |
Feb
(16) |
Mar
(1) |
Apr
(9) |
May
(7) |
Jun
(20) |
Jul
(13) |
Aug
(3) |
Sep
(2) |
Oct
(2) |
Nov
(2) |
Dec
(4) |
| 2020 |
Jan
(6) |
Feb
(11) |
Mar
(1) |
Apr
(18) |
May
(4) |
Jun
(5) |
Jul
(12) |
Aug
(1) |
Sep
(3) |
Oct
(7) |
Nov
(1) |
Dec
(17) |
| 2021 |
Jan
(1) |
Feb
(11) |
Mar
(16) |
Apr
(6) |
May
(5) |
Jun
(1) |
Jul
(1) |
Aug
(2) |
Sep
(8) |
Oct
(10) |
Nov
(4) |
Dec
(4) |
| 2022 |
Jan
(9) |
Feb
(35) |
Mar
(4) |
Apr
|
May
(3) |
Jun
(49) |
Jul
(11) |
Aug
|
Sep
(5) |
Oct
(2) |
Nov
(16) |
Dec
(13) |
| 2023 |
Jan
|
Feb
(8) |
Mar
(3) |
Apr
|
May
(8) |
Jun
|
Jul
(5) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
(2) |
| 2024 |
Jan
(6) |
Feb
(9) |
Mar
|
Apr
(26) |
May
(24) |
Jun
|
Jul
(4) |
Aug
(2) |
Sep
(1) |
Oct
(10) |
Nov
(9) |
Dec
|
| 2025 |
Jan
|
Feb
(22) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
(4) |
| 2026 |
Jan
|
Feb
(24) |
Mar
(20) |
Apr
(13) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Hernán De A. <var...@gm...> - 2024-05-16 19:11:42
|
Thank you for your comment. I was working on exactly that idea. In openSUSE Tumbleweed we have: # find /usr/include -name '*QtWidgets*' /usr/include/qt6/QtWidgets /usr/include/qt6/QtWidgets/QtWidgetsDepends /usr/include/qt6/QtWidgets/QtWidgets /usr/include/qt6/QtWidgets/QtWidgetsVersion I tried exporting "-I/usr/include/qt6/QtWidgets" as either CXX_FLAGS or CPPFLAGS but could not suceed. It condifures correctly, but make stops with error: /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: qtterminal/QtGnuplotItems.o: undefined reference to symbol '_ZN13QGraphicsItem12setExtensionENS_9ExtensionERK8QVariant@@Qt_6' /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/13/../../../../lib64/libQt6Widgets.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[4]: *** [Makefile:924: qt_embed_example] Error 1 I will look again when I have more time. /H. Den 2024-05-16 kl. 19:54, skrev Ethan Merritt: > On Thursday, 16 May 2024 00:25:24 PDT Hernán De Angelis wrote: >> Well it seems that I am now having some issues building as well ... QtApplication and QtWidget are apparently not found. >> >> In file included from qtterminal/qt_term.cpp:78: >> >> qtterminal/QtGnuplotApplication.h:49:10: fatal error: QApplication: No such file or directory >> >> 49 | #include <QApplication> >> >> | ^~~~~~~~~~~~~~ >> >> compilation terminated. > This was recently reported for Fedora also. In the Fedora case the answer was to > add Qt6Widgets as a separate dependency in the autotools configure.ac script. > The package itself was already pulled in by other Qt dependencies, but apparently > without a separate test the compiler preprocessor flag -I/usr/include/qt6/QtWidgets > was not added to the Makefile. Adding that to environmental variable CXX_FLAGS > prior to running "./configure" may be sufficient to get you going for now. > > https://sourceforge.net/p/gnuplot/bugs/2705/ > > I am surprised that the various linux distros have diverged so much in how they > split up Qt components for packaging. > > When you figure out what the missing piece is for building on Mint, please let me > know so I can add that fix to the gnuplot patchlevel 6.0.1 release. > > Ethan > >> make[4]: *** [Makefile:1044: qtterminal/qt_term.o] Error 1 >> >> make[4]: *** Waiting for unfinished jobs.... >> >> In file included from qtterminal/qt_embed_example.cpp:44: >> >> qtterminal/qt_embed_example.h:51:10: fatal error: QWidget: No such file or directory >> >> 51 | #include <QWidget> >> >> | ^~~~~~~~~ >> >> compilation terminated. >> >> make[4]: *** [Makefile:1044: qtterminal/qt_embed_example.o] Error 1 >> >> In file included from qtterminal/QtGnuplotInstance.cpp:45: >> >> qtterminal/QtGnuplotWidget.h:49:10: fatal error: QWidget: No such file or directory >> >> 49 | #include <QWidget> >> >> | ^~~~~~~~~ >> >> compilation terminated. >> >> make[4]: *** [Makefile:1044: qtterminal/QtGnuplotInstance.o] Error 1 >> >> In file included from qtterminal/gnuplot_qt.cpp:44: >> >> qtterminal/QtGnuplotApplication.h:49:10: fatal error: QApplication: No such file or directory >> >> 49 | #include <QApplication> >> >> | ^~~~~~~~~~~~~~ >> >> compilation terminated. >> >> >> Den 2024-05-16 kl. 09:08, skrev Hernán De Angelis: >>> Peter, >>> >>> I always build gnuplot from source, although in openSUSE Tumbleweed. >>> With 6.0.0 I had some problems too. Those were solved by looking at >>> the error messages and installing the corresponding packages. I ended >>> up having a lot of Qt6 packages but Since I build other things based >>> in Qt I do not see this as problematic. Perhaps the list below helps, >>> with packages as they are referred to in openSUSE. >>> >>> Good luck >>> >>> H. >>> >>> >>> No package 'Qt6Core' found >>> >>> qt6-core-devel | Development files for the Qt 6 Core library >>> >>> >>> No package 'Qt6Gui' found >>> >>> qt6-gui-devel | Development files for the Qt 6 GUI libraries >>> >>> >>> No package 'Qt6Network' found >>> >>> qt6-network-devel | Development files for the Qt 6 Network >>> library >>> >>> >>> No package 'Qt6Svg' found >>> >>> qt6-svg-devel | Qt 6 SVG libraries - Development files >>> >>> >>> No package 'Qt6PrintSupport' found >>> >>> qt6-printsupport-devel | Development files for the Qt 6 PrintSupport >>> library >>> >>> >>> No package 'Qt6Core5Compat' found >>> >>> qt6-qt5compat-devel | Qt 6 Core 5 Compat library - Development files >>> >>> >>> Den 2024-05-15 kl. 21:58, skrev Peter Rockett via gnuplot-info: >>>> Hi >>>> >>>> I am trying to build gnuplot 6.0.0 on Linux Mint 21.3 from source but >>>> struggling with the Qt dependencies. I used to be able to build >>>> gnuplot 5 no problem using just qt5-base-dev and libqt5svg5-dev but >>>> running ./configure for gnuplot 6.0.0 with what seem to be the Qt6 >>>> versions of these same packages installed (qt6-base-dev and >>>> libqt6svg6-dev) returns: >>>> >>>> No package 'Qt6Core' found >>>> No package 'Qt6Gui' found >>>> No package 'Qt6Network' found >>>> No package 'Qt6Svg' found >>>> No package 'Qt6PrintSupport' found >>>> No package 'Qt6Core5Compat' found >>>> >>>> Also, adding libqt6core5compat6-dev does not fix the last of these >>>> errors (about 'Qt6Core5Compat'). >>>> >>>> Does anybody know the list of Qt6 packages I need to satisfy the >>>> above dependencies? From what I can see, qt6-base-dev should provide >>>> the core, gui, network and print support stuff but it plainly does >>>> not. Similarly, the svg package should provide the svg stuff. >>>> >>>> Peter >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> gnuplot-info mailing list >>>> gnu...@li... >>>> Membership management via: >>>> https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> > > > |
|
From: Ethan M. <eam...@gm...> - 2024-05-16 17:54:49
|
On Thursday, 16 May 2024 00:25:24 PDT Hernán De Angelis wrote: > Well it seems that I am now having some issues building as well ... QtApplication and QtWidget are apparently not found. > > In file included from qtterminal/qt_term.cpp:78: > > qtterminal/QtGnuplotApplication.h:49:10: fatal error: QApplication: No such file or directory > > 49 | #include <QApplication> > > | ^~~~~~~~~~~~~~ > > compilation terminated. This was recently reported for Fedora also. In the Fedora case the answer was to add Qt6Widgets as a separate dependency in the autotools configure.ac script. The package itself was already pulled in by other Qt dependencies, but apparently without a separate test the compiler preprocessor flag -I/usr/include/qt6/QtWidgets was not added to the Makefile. Adding that to environmental variable CXX_FLAGS prior to running "./configure" may be sufficient to get you going for now. https://sourceforge.net/p/gnuplot/bugs/2705/ I am surprised that the various linux distros have diverged so much in how they split up Qt components for packaging. When you figure out what the missing piece is for building on Mint, please let me know so I can add that fix to the gnuplot patchlevel 6.0.1 release. Ethan > > make[4]: *** [Makefile:1044: qtterminal/qt_term.o] Error 1 > > make[4]: *** Waiting for unfinished jobs.... > > In file included from qtterminal/qt_embed_example.cpp:44: > > qtterminal/qt_embed_example.h:51:10: fatal error: QWidget: No such file or directory > > 51 | #include <QWidget> > > | ^~~~~~~~~ > > compilation terminated. > > make[4]: *** [Makefile:1044: qtterminal/qt_embed_example.o] Error 1 > > In file included from qtterminal/QtGnuplotInstance.cpp:45: > > qtterminal/QtGnuplotWidget.h:49:10: fatal error: QWidget: No such file or directory > > 49 | #include <QWidget> > > | ^~~~~~~~~ > > compilation terminated. > > make[4]: *** [Makefile:1044: qtterminal/QtGnuplotInstance.o] Error 1 > > In file included from qtterminal/gnuplot_qt.cpp:44: > > qtterminal/QtGnuplotApplication.h:49:10: fatal error: QApplication: No such file or directory > > 49 | #include <QApplication> > > | ^~~~~~~~~~~~~~ > > compilation terminated. > > > Den 2024-05-16 kl. 09:08, skrev Hernán De Angelis: > > Peter, > > > > I always build gnuplot from source, although in openSUSE Tumbleweed. > > With 6.0.0 I had some problems too. Those were solved by looking at > > the error messages and installing the corresponding packages. I ended > > up having a lot of Qt6 packages but Since I build other things based > > in Qt I do not see this as problematic. Perhaps the list below helps, > > with packages as they are referred to in openSUSE. > > > > Good luck > > > > H. > > > > > > No package 'Qt6Core' found > > > > qt6-core-devel | Development files for the Qt 6 Core library > > > > > > No package 'Qt6Gui' found > > > > qt6-gui-devel | Development files for the Qt 6 GUI libraries > > > > > > No package 'Qt6Network' found > > > > qt6-network-devel | Development files for the Qt 6 Network > > library > > > > > > No package 'Qt6Svg' found > > > > qt6-svg-devel | Qt 6 SVG libraries - Development files > > > > > > No package 'Qt6PrintSupport' found > > > > qt6-printsupport-devel | Development files for the Qt 6 PrintSupport > > library > > > > > > No package 'Qt6Core5Compat' found > > > > qt6-qt5compat-devel | Qt 6 Core 5 Compat library - Development files > > > > > > Den 2024-05-15 kl. 21:58, skrev Peter Rockett via gnuplot-info: > >> Hi > >> > >> I am trying to build gnuplot 6.0.0 on Linux Mint 21.3 from source but > >> struggling with the Qt dependencies. I used to be able to build > >> gnuplot 5 no problem using just qt5-base-dev and libqt5svg5-dev but > >> running ./configure for gnuplot 6.0.0 with what seem to be the Qt6 > >> versions of these same packages installed (qt6-base-dev and > >> libqt6svg6-dev) returns: > >> > >> No package 'Qt6Core' found > >> No package 'Qt6Gui' found > >> No package 'Qt6Network' found > >> No package 'Qt6Svg' found > >> No package 'Qt6PrintSupport' found > >> No package 'Qt6Core5Compat' found > >> > >> Also, adding libqt6core5compat6-dev does not fix the last of these > >> errors (about 'Qt6Core5Compat'). > >> > >> Does anybody know the list of Qt6 packages I need to satisfy the > >> above dependencies? From what I can see, qt6-base-dev should provide > >> the core, gui, network and print support stuff but it plainly does > >> not. Similarly, the svg package should provide the svg stuff. > >> > >> Peter > >> > >> > >> > >> > >> > >> _______________________________________________ > >> gnuplot-info mailing list > >> gnu...@li... > >> Membership management via: > >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: Hernán De A. <var...@gm...> - 2024-05-16 11:10:08
|
No, I now believe I may have not compiled it with Qt6 originally as I believed. If that is the case, sorry for the confusion. I wonder what is the status of this at the development front. Perhaps Qt6 is still experimental? H. Den 2024-05-16 kl. 12:49, skrev Peter Rockett via gnuplot-info: > Oh! > > I am wondering if something has changed in the gnuplot build process? > Or maybe the openSUSE and Ubuntu distros have (both) changed something > for Qt6 that means the gnuplot build now fails? > > I have to confess that my knowledge of autotools is rather hazy. What > is configure looking for (and cannot now find) when it looks for the > presence of the Qt6 libs? > > P. > > > On 16/05/2024 08:25, Hernán De Angelis wrote: >> Well it seems that I am now having some issues building as well ... >> QtApplication and QtWidget are apparently not found. >> >> In file included from qtterminal/qt_term.cpp:78: >> >> qtterminal/QtGnuplotApplication.h:49:10: fatal error: QApplication: >> No such file or directory >> >> 49 | #include <QApplication> >> >> | ^~~~~~~~~~~~~~ >> >> compilation terminated. >> >> make[4]: *** [Makefile:1044: qtterminal/qt_term.o] Error 1 >> >> make[4]: *** Waiting for unfinished jobs.... >> >> In file included from qtterminal/qt_embed_example.cpp:44: >> >> qtterminal/qt_embed_example.h:51:10: fatal error: QWidget: No such >> file or directory >> >> 51 | #include <QWidget> >> >> | ^~~~~~~~~ >> >> compilation terminated. >> >> make[4]: *** [Makefile:1044: qtterminal/qt_embed_example.o] Error 1 >> >> In file included from qtterminal/QtGnuplotInstance.cpp:45: >> >> qtterminal/QtGnuplotWidget.h:49:10: fatal error: QWidget: No such >> file or directory >> >> 49 | #include <QWidget> >> >> | ^~~~~~~~~ >> >> compilation terminated. >> >> make[4]: *** [Makefile:1044: qtterminal/QtGnuplotInstance.o] Error 1 >> >> In file included from qtterminal/gnuplot_qt.cpp:44: >> >> qtterminal/QtGnuplotApplication.h:49:10: fatal error: QApplication: >> No such file or directory >> >> 49 | #include <QApplication> >> >> | ^~~~~~~~~~~~~~ >> >> compilation terminated. >> >> >> Den 2024-05-16 kl. 09:08, skrev Hernán De Angelis: >>> Peter, >>> >>> I always build gnuplot from source, although in openSUSE Tumbleweed. >>> With 6.0.0 I had some problems too. Those were solved by looking at >>> the error messages and installing the corresponding packages. I >>> ended up having a lot of Qt6 packages but Since I build other things >>> based in Qt I do not see this as problematic. Perhaps the list >>> below helps, with packages as they are referred to in openSUSE. >>> >>> Good luck >>> >>> H. >>> >>> >>> No package 'Qt6Core' found >>> >>> qt6-core-devel | Development files for the Qt 6 Core library >>> >>> >>> No package 'Qt6Gui' found >>> >>> qt6-gui-devel | Development files for the Qt 6 GUI libraries >>> >>> >>> No package 'Qt6Network' found >>> >>> qt6-network-devel | Development files for the Qt 6 Network >>> library >>> >>> >>> No package 'Qt6Svg' found >>> >>> qt6-svg-devel | Qt 6 SVG libraries - Development files >>> >>> >>> No package 'Qt6PrintSupport' found >>> >>> qt6-printsupport-devel | Development files for the Qt 6 PrintSupport >>> library >>> >>> >>> No package 'Qt6Core5Compat' found >>> >>> qt6-qt5compat-devel | Qt 6 Core 5 Compat library - Development files >>> >>> >>> Den 2024-05-15 kl. 21:58, skrev Peter Rockett via gnuplot-info: >>>> Hi >>>> >>>> I am trying to build gnuplot 6.0.0 on Linux Mint 21.3 from source >>>> but struggling with the Qt dependencies. I used to be able to build >>>> gnuplot 5 no problem using just qt5-base-dev and libqt5svg5-dev but >>>> running ./configure for gnuplot 6.0.0 with what seem to be the Qt6 >>>> versions of these same packages installed (qt6-base-dev and >>>> libqt6svg6-dev) returns: >>>> >>>> No package 'Qt6Core' found >>>> No package 'Qt6Gui' found >>>> No package 'Qt6Network' found >>>> No package 'Qt6Svg' found >>>> No package 'Qt6PrintSupport' found >>>> No package 'Qt6Core5Compat' found >>>> >>>> Also, adding libqt6core5compat6-dev does not fix the last of these >>>> errors (about 'Qt6Core5Compat'). >>>> >>>> Does anybody know the list of Qt6 packages I need to satisfy the >>>> above dependencies? From what I can see, qt6-base-dev should >>>> provide the core, gui, network and print support stuff but it >>>> plainly does not. Similarly, the svg package should provide the svg >>>> stuff. >>>> >>>> Peter >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> gnuplot-info mailing list >>>> gnu...@li... >>>> Membership management via: >>>> https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> Membership management via: >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: Peter R. <p.r...@sh...> - 2024-05-16 11:09:21
|
Hernán Thanks, but the Qt packages you have on openSUSE are different. Distros seems to package up Qt differently. qt5-base-dev and libqt5svg5-dev used to provide all the dependencies for gnuplot 5, and I can see that when I install qt6-base-dev and libqt6svg6-dev a load of other libs dependencies are installed - they all look right: core, gui, etc. But the configure script does not find them. P. On 16/05/2024 08:08, Hernán De Angelis wrote: > Peter, > > I always build gnuplot from source, although in openSUSE Tumbleweed. > With 6.0.0 I had some problems too. Those were solved by looking at > the error messages and installing the corresponding packages. I ended > up having a lot of Qt6 packages but Since I build other things based > in Qt I do not see this as problematic. Perhaps the list below helps, > with packages as they are referred to in openSUSE. > > Good luck > > H. > > > No package 'Qt6Core' found > > qt6-core-devel | Development files for the Qt 6 Core library > > > No package 'Qt6Gui' found > > qt6-gui-devel | Development files for the Qt 6 GUI libraries > > > No package 'Qt6Network' found > > qt6-network-devel | Development files for the Qt 6 Network > library > > > No package 'Qt6Svg' found > > qt6-svg-devel | Qt 6 SVG libraries - Development files > > > No package 'Qt6PrintSupport' found > > qt6-printsupport-devel | Development files for the Qt 6 PrintSupport > library > > > No package 'Qt6Core5Compat' found > > qt6-qt5compat-devel | Qt 6 Core 5 Compat library - Development files > > > Den 2024-05-15 kl. 21:58, skrev Peter Rockett via gnuplot-info: >> Hi >> >> I am trying to build gnuplot 6.0.0 on Linux Mint 21.3 from source but >> struggling with the Qt dependencies. I used to be able to build >> gnuplot 5 no problem using just qt5-base-dev and libqt5svg5-dev but >> running ./configure for gnuplot 6.0.0 with what seem to be the Qt6 >> versions of these same packages installed (qt6-base-dev and >> libqt6svg6-dev) returns: >> >> No package 'Qt6Core' found >> No package 'Qt6Gui' found >> No package 'Qt6Network' found >> No package 'Qt6Svg' found >> No package 'Qt6PrintSupport' found >> No package 'Qt6Core5Compat' found >> >> Also, adding libqt6core5compat6-dev does not fix the last of these >> errors (about 'Qt6Core5Compat'). >> >> Does anybody know the list of Qt6 packages I need to satisfy the >> above dependencies? From what I can see, qt6-base-dev should provide >> the core, gui, network and print support stuff but it plainly does >> not. Similarly, the svg package should provide the svg stuff. >> >> Peter >> >> >> >> >> >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> Membership management via: >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: Peter R. <p.r...@sh...> - 2024-05-16 10:58:06
|
Oh! I am wondering if something has changed in the gnuplot build process? Or maybe the openSUSE and Ubuntu distros have (both) changed something for Qt6 that means the gnuplot build now fails? I have to confess that my knowledge of autotools is rather hazy. What is configure looking for (and cannot now find) when it looks for the presence of the Qt6 libs? P. On 16/05/2024 08:25, Hernán De Angelis wrote: > Well it seems that I am now having some issues building as well ... > QtApplication and QtWidget are apparently not found. > > In file included from qtterminal/qt_term.cpp:78: > > qtterminal/QtGnuplotApplication.h:49:10: fatal error: QApplication: No > such file or directory > > 49 | #include <QApplication> > > | ^~~~~~~~~~~~~~ > > compilation terminated. > > make[4]: *** [Makefile:1044: qtterminal/qt_term.o] Error 1 > > make[4]: *** Waiting for unfinished jobs.... > > In file included from qtterminal/qt_embed_example.cpp:44: > > qtterminal/qt_embed_example.h:51:10: fatal error: QWidget: No such > file or directory > > 51 | #include <QWidget> > > | ^~~~~~~~~ > > compilation terminated. > > make[4]: *** [Makefile:1044: qtterminal/qt_embed_example.o] Error 1 > > In file included from qtterminal/QtGnuplotInstance.cpp:45: > > qtterminal/QtGnuplotWidget.h:49:10: fatal error: QWidget: No such file > or directory > > 49 | #include <QWidget> > > | ^~~~~~~~~ > > compilation terminated. > > make[4]: *** [Makefile:1044: qtterminal/QtGnuplotInstance.o] Error 1 > > In file included from qtterminal/gnuplot_qt.cpp:44: > > qtterminal/QtGnuplotApplication.h:49:10: fatal error: QApplication: No > such file or directory > > 49 | #include <QApplication> > > | ^~~~~~~~~~~~~~ > > compilation terminated. > > > Den 2024-05-16 kl. 09:08, skrev Hernán De Angelis: >> Peter, >> >> I always build gnuplot from source, although in openSUSE Tumbleweed. >> With 6.0.0 I had some problems too. Those were solved by looking at >> the error messages and installing the corresponding packages. I ended >> up having a lot of Qt6 packages but Since I build other things based >> in Qt I do not see this as problematic. Perhaps the list below >> helps, with packages as they are referred to in openSUSE. >> >> Good luck >> >> H. >> >> >> No package 'Qt6Core' found >> >> qt6-core-devel | Development files for the Qt 6 Core library >> >> >> No package 'Qt6Gui' found >> >> qt6-gui-devel | Development files for the Qt 6 GUI libraries >> >> >> No package 'Qt6Network' found >> >> qt6-network-devel | Development files for the Qt 6 Network >> library >> >> >> No package 'Qt6Svg' found >> >> qt6-svg-devel | Qt 6 SVG libraries - Development files >> >> >> No package 'Qt6PrintSupport' found >> >> qt6-printsupport-devel | Development files for the Qt 6 PrintSupport >> library >> >> >> No package 'Qt6Core5Compat' found >> >> qt6-qt5compat-devel | Qt 6 Core 5 Compat library - Development files >> >> >> Den 2024-05-15 kl. 21:58, skrev Peter Rockett via gnuplot-info: >>> Hi >>> >>> I am trying to build gnuplot 6.0.0 on Linux Mint 21.3 from source >>> but struggling with the Qt dependencies. I used to be able to build >>> gnuplot 5 no problem using just qt5-base-dev and libqt5svg5-dev but >>> running ./configure for gnuplot 6.0.0 with what seem to be the Qt6 >>> versions of these same packages installed (qt6-base-dev and >>> libqt6svg6-dev) returns: >>> >>> No package 'Qt6Core' found >>> No package 'Qt6Gui' found >>> No package 'Qt6Network' found >>> No package 'Qt6Svg' found >>> No package 'Qt6PrintSupport' found >>> No package 'Qt6Core5Compat' found >>> >>> Also, adding libqt6core5compat6-dev does not fix the last of these >>> errors (about 'Qt6Core5Compat'). >>> >>> Does anybody know the list of Qt6 packages I need to satisfy the >>> above dependencies? From what I can see, qt6-base-dev should provide >>> the core, gui, network and print support stuff but it plainly does >>> not. Similarly, the svg package should provide the svg stuff. >>> >>> Peter >>> >>> >>> >>> >>> >>> _______________________________________________ >>> gnuplot-info mailing list >>> gnu...@li... >>> Membership management via: >>> https://lists.sourceforge.net/lists/listinfo/gnuplot-info > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: Hernán De A. <var...@gm...> - 2024-05-16 07:25:39
|
Well it seems that I am now having some issues building as well ... QtApplication and QtWidget are apparently not found. In file included from qtterminal/qt_term.cpp:78: qtterminal/QtGnuplotApplication.h:49:10: fatal error: QApplication: No such file or directory 49 | #include <QApplication> | ^~~~~~~~~~~~~~ compilation terminated. make[4]: *** [Makefile:1044: qtterminal/qt_term.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from qtterminal/qt_embed_example.cpp:44: qtterminal/qt_embed_example.h:51:10: fatal error: QWidget: No such file or directory 51 | #include <QWidget> | ^~~~~~~~~ compilation terminated. make[4]: *** [Makefile:1044: qtterminal/qt_embed_example.o] Error 1 In file included from qtterminal/QtGnuplotInstance.cpp:45: qtterminal/QtGnuplotWidget.h:49:10: fatal error: QWidget: No such file or directory 49 | #include <QWidget> | ^~~~~~~~~ compilation terminated. make[4]: *** [Makefile:1044: qtterminal/QtGnuplotInstance.o] Error 1 In file included from qtterminal/gnuplot_qt.cpp:44: qtterminal/QtGnuplotApplication.h:49:10: fatal error: QApplication: No such file or directory 49 | #include <QApplication> | ^~~~~~~~~~~~~~ compilation terminated. Den 2024-05-16 kl. 09:08, skrev Hernán De Angelis: > Peter, > > I always build gnuplot from source, although in openSUSE Tumbleweed. > With 6.0.0 I had some problems too. Those were solved by looking at > the error messages and installing the corresponding packages. I ended > up having a lot of Qt6 packages but Since I build other things based > in Qt I do not see this as problematic. Perhaps the list below helps, > with packages as they are referred to in openSUSE. > > Good luck > > H. > > > No package 'Qt6Core' found > > qt6-core-devel | Development files for the Qt 6 Core library > > > No package 'Qt6Gui' found > > qt6-gui-devel | Development files for the Qt 6 GUI libraries > > > No package 'Qt6Network' found > > qt6-network-devel | Development files for the Qt 6 Network > library > > > No package 'Qt6Svg' found > > qt6-svg-devel | Qt 6 SVG libraries - Development files > > > No package 'Qt6PrintSupport' found > > qt6-printsupport-devel | Development files for the Qt 6 PrintSupport > library > > > No package 'Qt6Core5Compat' found > > qt6-qt5compat-devel | Qt 6 Core 5 Compat library - Development files > > > Den 2024-05-15 kl. 21:58, skrev Peter Rockett via gnuplot-info: >> Hi >> >> I am trying to build gnuplot 6.0.0 on Linux Mint 21.3 from source but >> struggling with the Qt dependencies. I used to be able to build >> gnuplot 5 no problem using just qt5-base-dev and libqt5svg5-dev but >> running ./configure for gnuplot 6.0.0 with what seem to be the Qt6 >> versions of these same packages installed (qt6-base-dev and >> libqt6svg6-dev) returns: >> >> No package 'Qt6Core' found >> No package 'Qt6Gui' found >> No package 'Qt6Network' found >> No package 'Qt6Svg' found >> No package 'Qt6PrintSupport' found >> No package 'Qt6Core5Compat' found >> >> Also, adding libqt6core5compat6-dev does not fix the last of these >> errors (about 'Qt6Core5Compat'). >> >> Does anybody know the list of Qt6 packages I need to satisfy the >> above dependencies? From what I can see, qt6-base-dev should provide >> the core, gui, network and print support stuff but it plainly does >> not. Similarly, the svg package should provide the svg stuff. >> >> Peter >> >> >> >> >> >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> Membership management via: >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: Hernán De A. <var...@gm...> - 2024-05-16 07:09:04
|
Peter, I always build gnuplot from source, although in openSUSE Tumbleweed. With 6.0.0 I had some problems too. Those were solved by looking at the error messages and installing the corresponding packages. I ended up having a lot of Qt6 packages but Since I build other things based in Qt I do not see this as problematic. Perhaps the list below helps, with packages as they are referred to in openSUSE. Good luck H. No package 'Qt6Core' found qt6-core-devel | Development files for the Qt 6 Core library No package 'Qt6Gui' found qt6-gui-devel | Development files for the Qt 6 GUI libraries No package 'Qt6Network' found qt6-network-devel | Development files for the Qt 6 Network library No package 'Qt6Svg' found qt6-svg-devel | Qt 6 SVG libraries - Development files No package 'Qt6PrintSupport' found qt6-printsupport-devel | Development files for the Qt 6 PrintSupport library No package 'Qt6Core5Compat' found qt6-qt5compat-devel | Qt 6 Core 5 Compat library - Development files Den 2024-05-15 kl. 21:58, skrev Peter Rockett via gnuplot-info: > Hi > > I am trying to build gnuplot 6.0.0 on Linux Mint 21.3 from source but > struggling with the Qt dependencies. I used to be able to build > gnuplot 5 no problem using just qt5-base-dev and libqt5svg5-dev but > running ./configure for gnuplot 6.0.0 with what seem to be the Qt6 > versions of these same packages installed (qt6-base-dev and > libqt6svg6-dev) returns: > > No package 'Qt6Core' found > No package 'Qt6Gui' found > No package 'Qt6Network' found > No package 'Qt6Svg' found > No package 'Qt6PrintSupport' found > No package 'Qt6Core5Compat' found > > Also, adding libqt6core5compat6-dev does not fix the last of these > errors (about 'Qt6Core5Compat'). > > Does anybody know the list of Qt6 packages I need to satisfy the above > dependencies? From what I can see, qt6-base-dev should provide the > core, gui, network and print support stuff but it plainly does not. > Similarly, the svg package should provide the svg stuff. > > Peter > > > > > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: Peter R. <p.r...@sh...> - 2024-05-15 20:28:46
|
Hi I am trying to build gnuplot 6.0.0 on Linux Mint 21.3 from source but struggling with the Qt dependencies. I used to be able to build gnuplot 5 no problem using just qt5-base-dev and libqt5svg5-dev but running ./configure for gnuplot 6.0.0 with what seem to be the Qt6 versions of these same packages installed (qt6-base-dev and libqt6svg6-dev) returns: No package 'Qt6Core' found No package 'Qt6Gui' found No package 'Qt6Network' found No package 'Qt6Svg' found No package 'Qt6PrintSupport' found No package 'Qt6Core5Compat' found Also, adding libqt6core5compat6-dev does not fix the last of these errors (about 'Qt6Core5Compat'). Does anybody know the list of Qt6 packages I need to satisfy the above dependencies? From what I can see, qt6-base-dev should provide the core, gui, network and print support stuff but it plainly does not. Similarly, the svg package should provide the svg stuff. Peter |
|
From: Frank S. <fst...@bi...> - 2024-05-02 09:45:12
|
Not only telling the solution but giving such a detailed explanation that I could fully unterstand was very helpful! Thank you very much :-) cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * |
|
From: Ethan M. <eam...@gm...> - 2024-05-01 21:12:22
|
On Wednesday, 1 May 2024 13:05:40 PDT Frank Steiner wrote:
> I'm trying to plot some csv files and have problem with coloring the
> bars with a helper function if the function returns only one value
> instead of different ones.
"set palette" defines a span of colors that so far as the palette itself is concerned
run from 0 to 1. 0 = first color; 1 = last color.
The program then maps that onto the color axis range (cb).
That is to say, palette 0 is mapped to cb[min] and palette 1 is mapped to cb[max].
By default the cb[min:max] range is auto-scaled to the z range of the plot content.
In most 3D plotting modes this is reasonable, although not necessarily what you
want if the palette coloring is supposed to represent some pre-determined
absolute scale. In 2D plots the z coordinate may or may not be defined at all.
Your plot command duplicates the y value as a z value, so by default
the cbrange will autoscale to the range on y. If there is only one y value
then it collapses as you have seen.
Long story short: Set the cbrange manually to whatever you think appropriate.
If you only expect values between 1 and 3 on y then do "set cbrange [0:3]".
Ethan
> Using the files "test.csv" with content
> 1 1
> 2 2
> 3 3
>
> In gnuplot 6.0 I call:
> gnuplot> file="test.csv"
> gnuplot> set yrange [0:3]
> gnuplot> set palette defined (1 'red', 2 'green', 3 'blue')
> gnuplot> color(x)=x
> gnuplot> plot file using 1:2:(color($2)) with boxes fill pattern 2 lc palette
>
> I get three bars with colors red, green and blue from left to right.
>
> But when I change test.csv so that the values in the second column
> are all "1" I get all three bars in green and the warning
> "Warning: empty cb range [1:1], adjusting to [1.98:2.02]"
>
> Same when the second colums contains only 2 or only 3: the warning
> message changes w.r.t. to the numbers (e.g. range [2:2] etc.) but
> the bars are always green.
>
> Thus, when I have a csv file that causes my (more complex) color function
> to return only one value, then the colors of the bars are wrong. Like a csv
> file with only error values would show green (="ok") bars instead of
> red (="error") ones.
>
> Is that a bug or is my understanding of "lc palette" wrong?
>
> Thanks!
> cu,
> Frank
>
>
|
|
From: Frank S. <fst...@bi...> - 2024-05-01 20:25:22
|
Hi, I'm trying to plot some csv files and have problem with coloring the bars with a helper function if the function returns only one value instead of different ones. Here's a very simple test scenario: Using the files "test.csv" with content 1 1 2 2 3 3 In gnuplot 6.0 I call: gnuplot> file="test.csv" gnuplot> set yrange [0:3] gnuplot> set palette defined (1 'red', 2 'green', 3 'blue') gnuplot> color(x)=x gnuplot> plot file using 1:2:(color($2)) with boxes fill pattern 2 lc palette I get three bars with colors red, green and blue from left to right. But when I change test.csv so that the values in the second column are all "1" I get all three bars in green and the warning "Warning: empty cb range [1:1], adjusting to [1.98:2.02]" Same when the second colums contains only 2 or only 3: the warning message changes w.r.t. to the numbers (e.g. range [2:2] etc.) but the bars are always green. Thus, when I have a csv file that causes my (more complex) color function to return only one value, then the colors of the bars are wrong. Like a csv file with only error values would show green (="ok") bars instead of red (="error") ones. Is that a bug or is my understanding of "lc palette" wrong? Thanks! cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * |
|
From: Dave H. <da...@ho...> - 2024-04-22 08:09:41
|
On Mon, 22 Apr 2024, Marc Chantreux wrote:
> On Sun, Apr 21, 2024 at 11:54:42AM -0700, Ethan Merritt wrote:
> > plot sample [t=0:1] '+' u (temp=f(t),real(temp)):(imag(temp)) w l
>
> aside: it is common in other langages that unfinished expressions allows
> line returns. it would be nice to have it in gnuplot so we can write
>
> w=5; r=3
> f(t) = r * exp(I * w * t)
> plot sample [t=0:1] '+' u (
> temp=f(t),
> real(temp)):(imag(temp)
> ) w l
Well, a good optimiser would also recognise an invariant expression inside
a loop, and take it outside :-) (Which you did)
And as for line returns, I'm waiting for # \
[ Blah ]
to not be the continuation of a comment; simple, really...
-- Dave
|
|
From: Marc C. <mc...@un...> - 2024-04-22 07:42:57
|
On Sun, Apr 21, 2024 at 11:54:42AM -0700, Ethan Merritt wrote: > plot sample [t=0:1] '+' u (temp=f(t),real(temp)):(imag(temp)) w l aside: it is common in other langages that unfinished expressions allows line returns. it would be nice to have it in gnuplot so we can write w=5; r=3 f(t) = r * exp(I * w * t) plot sample [t=0:1] '+' u ( temp=f(t), real(temp)):(imag(temp) ) w l regards -- Marc Chantreux Pôle CESAR (Calcul et services avancés à la recherche) Université de Strasbourg 14 rue René Descartes, BP 80010, 67084 STRASBOURG CEDEX 03.68.85.60.79 |
|
From: Ethan M. <eam...@gm...> - 2024-04-21 21:29:53
|
On Sun, Apr 21, 2024 at 6:31 AM <fi...@ig...> wrote:
> Dear Gnuplot Users,
>
> suppose the following simple gnuplot example snippet which is used to
> plot a complex valued function:
>
> w = 5
> r = 3
> f(t) = r * exp(I * w * t)
> plot sample [t=0:1] '+' u (real(f(t))):(imag(f(t))) w l
>
> here the function f(t) is evaluated twice - not desirable because of
> performance. How can this be done with only one evaluation of f(t)?
>
plot sample [t=0:1] '+' u (temp=f(t),real(temp)):(imag(temp)) w l
>
> Thanks for any advice and best regards
>
> Torsten
>
|
|
From: <fi...@ig...> - 2024-04-21 13:30:15
|
Dear Gnuplot Users, suppose the following simple gnuplot example snippet which is used to plot a complex valued function: w = 5 r = 3 f(t) = r * exp(I * w * t) plot sample [t=0:1] '+' u (real(f(t))):(imag(f(t))) w l here the function f(t) is evaluated twice - not desirable because of performance. How can this be done with only one evaluation of f(t)? Thanks for any advice and best regards Torsten -- ------------------------------------------------------------------------ Torsten Finke fi...@ig... ------------------------------------------------------------------------ |
|
From: hchiPer <hc...@gm...> - 2024-04-20 08:25:14
|
xtics are set automatically, with a larger step if the range is large. You can - either use this (but xlabels will overlap if xrange is large) set xtics 10 # mxtics are set to the default, 10 too - or leave xtics set automatically (1, 100, ...) and use this (but secondary xtics will become nearly indistinguishable): set mxtics 100 Le 19/04/24 à 14:58, Al Conle a écrit : > > > Here is the 1:1.0E+10 x axis. > Note that the grid lines for 10, 1000, 100000, ...1x10^9 are missing and > there is no way to "find" them while trying to read the graph. > > image.png > Where as in the plot below has a correct display of the major and minor > tick lines > > image.png > > Al > > > > > > > |
|
From: Garcia V. R. <Rob...@fl...> - 2024-04-19 20:02:57
|
Indeed. The slower gnuplot has also the 4x slower sysbench. Okay. That seems to be the problem. Is gnuplot multi core capable? I wonder why the entire performance of the CPU is not used. But yes, that would clearly explain the difference to begin with. Best Robin Robin Garcia Victoria (M.Sc.) Computer scientist ___________________________________________ Friedrich-Loeffler-Institut Bundesforschungsinstitut für Tiergesundheit Federal Research Institute for Animal Health Höltystr. 10 | 31535 Neustadt Tel: +49 5034 871-5156 (Kein IT-Support!) IT-Hotline: 1699 https://www.fli.de/ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ________________________________________ Von: Werner Lippert <wer...@pe...> Gesendet: Freitag, 19. April 2024 18:09 An: Garcia Victoria, Robin Cc: gnu...@li... Betreff: Re: [External] [Gnuplot-info] fit is slow due to missing/wrong shared libraries? ACHTUNG: EXTERNE E-MAIL Hi Robin, Do I get it, the box with the slower gnuplot performance is also 4 times slower running sysbench? Cheers, Werner _________________________________________________ Dr. Werner Lippert Partner peaq GmbH Mobile +41 79 218 84 26 Neugutstrasse 12 wer...@pe... CH-8304 Wallisellen www.peaq.ch _________________________________________________ Get the most out of your Hitachi Storage Systems With peaq IOportal, SAM4H, Crosscharging and Lifecycle Services On 19 Apr 2024, at 18:02, Garcia Victoria, Robin <Rob...@fl...> wrote: These are my results root@rie-ex-web160,apt: sysbench --test=cpu run sysbench 0.4.12: multi-threaded system evaluation benchmark Running the test with following options: Number of threads: 1 Doing CPU performance benchmark Threads started! Done. Maximum prime number checked in CPU test: 10000 Test execution summary: total time: 2.2523s total number of events: 10000 total time taken by event execution: 2.2517 per-request statistics: min: 0.22ms avg: 0.23ms max: 0.60ms approx. 95 percentile: 0.23ms Threads fairness: events (avg/stddev): 10000.0000/0.00 execution time (avg/stddev): 2.2517/0.00 Apptainer> sysbench cpu run sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3) Running the test with following options: Number of threads: 1 Initializing random number generator from current time Prime numbers limit: 10000 Initializing worker threads... Threads started! CPU speed: events per second: 1210.13 General statistics: total time: 10.0007s total number of events: 12104 Latency (ms): min: 0.81 avg: 0.83 max: 1.42 95th percentile: 0.86 sum: 9995.59 Threads fairness: events (avg/stddev): 12104.0000/0.00 execution time (avg/stddev): 9.9956/0.00 Robin Garcia Victoria (M.Sc.)<http://scanmail.trustwave.com/?c=4477&d=sJei5iDDBf1wuA_tQXN7IhVnOYCKLGVGGOgi0xDacg&u=http%3a%2f%2fM%2eSc%2e%29> Computer scientist ___________________________________________ Friedrich-Loeffler-Institut Bundesforschungsinstitut für Tiergesundheit Federal Research Institute for Animal Health Höltystr. 10 | 31535 Neustadt Tel: +49 5034 871-5156 (Kein IT-Support!) IT-Hotline: 1699 https://www.fli.de/<https://scanmail.trustwave.com/?c=4477&d=sJei5iDDBf1wuA_tQXN7IhVnOYCKLGVGGOonhkeJdQ&u=https%3a%2f%2fwww%2efli%2ede%2f> ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ________________________________________ Von: Werner Lippert <wer...@pe...> Gesendet: Freitag, 19. April 2024 17:17:39 An: Garcia Victoria, Robin Cc: gnu...@li... Betreff: [External] Re: [Gnuplot-info] fit is slow due to missing/wrong shared libraries? ACHTUNG: EXTERNE E-MAIL Hi Robin, You should first run a CPU benchmark on both systems to get a baseline. AMD might be significantly slower than Intel. Cheers, Werner _________________________________________________ Dr. Werner Lippert Partner peaq GmbH Mobile +41 79 218 84 26 Neugutstrasse 12 wer...@pe... CH-8304 Wallisellen www.peaq.ch _________________________________________________ Get the most out of your Hitachi Storage Systems With peaq IOportal, SAM4H, Crosscharging and Lifecycle Services On 19 Apr 2024, at 15:23, Garcia Victoria, Robin <Rob...@fl...> wrote: Hello everyone, I have installed gnuplot 5.0.5 on a VM (on Debian 9) and gnuplot 5.4.4 (Debian 12) in a Singularity container. The runtimes differ considerably: On the VM with gnuplot version 5.0.5 real 0m31.142s user 0m14.280s sys 0m15.672s In the container with gnuplot version 5.4.4 real 2m32.341s user 1m31.325s sys 1m0.593s My specs are: - VM: AMD EPYC 7543P 32-Core Processor and 32GB RAM - Singularity: Intel(R) Xeon(R) Gold 6154 CPU @ 3.00GHz (72-Core) and 378GB RAM root@rie-ex-web160,tmp: cat fit_run_gnuplottestlauf_year1950 Set terminal postscript set output "Inbreeding_log_gnuplottestlauf_year1950.ps" set ylabel "Coefficient" font "Times-Italic,14" set xlabel "Days of birth" font "Times-Italic,14" set style line 1 lt 1 lw 15 set button below set autoscaling xy f(x)=a*x+b FIT_LIMIT =1E-20 fit f(x) "Inbreeding_log_gnuplottestlauf_year1950.csv" u 1:2 via a,b Plot "Inbreeding_log_gnuplottestlauf_year1950.csv" with 1:2 title "Log of Inbreed Coeff", f(x) root@rie-ex-web160,tmp: cat Inbreeding_log_gnuplottestlauf_year1950.csv 1 0.0000000000000000 1950 21 0.0000000000000000 1950 73 0.0000000000000000 1950 265 0.0000000000000000 1950 I have checked which shared libraries are used by gnuplot (ldd /usr/bin/gnuplot). Apptainer> ldd /usr/bin/gnuplot | wc -l 84 root@rie-ex-web160,~: ldd /usr/bin/gnuplot | wc -l 46 My container, where the fitting with gnuplot runs slower than in the VM, has 84 shared libraries for gnuplot, while 46 shared libraries are used by gnuplot in the VM. Could this be the reason why the fitting is significantly slower? I would be grateful for any tips and advice. Best Robin Robin Garcia Victoria (M.Sc.)<http://scanmail.trustwave.com/?c=4477&d=mIui5jG0WgXIqtbgf5hLVlL1pSV3SXy9M8tXpkLvig&u=http%3a%2f%2fM%2eSc%2e%29> Computer scientist ___________________________________________ Friedrich-Loeffler-Institut Bundesforschungsinstitut für Tiergesundheit Federal Research Institute for Animal Health Höltystr. 10 | 31535 Neustadt Tel: +49 5034 871-5156 (Kein IT-Support!) IT-Hotline: 1699 https://www.fli.de/<https://scanmail.trustwave.com/?c=4477&d=sJei5iDDBf1wuA_tQXN7IhVnOYCKLGVGGLtwgRaMIg&u=https%3a%2f%2fwww%2efli%2ede%2f%3e> ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ _______________________________________________ gnuplot-info mailing list gnu...@li... Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info<https://scanmail.trustwave.com/?c=4477&d=sJei5iDDBf1wuA_tQXN7IhVnOYCKLGVGGO8i1xTYeA&u=https%3a%2f%2flists%2esourceforge%2enet%2flists%2flistinfo%2fgnuplot-info%3e> |
|
From: Werner L. <wer...@pe...> - 2024-04-19 19:29:41
|
Hi Robin, Do I get it, the box with the slower gnuplot performance is also 4 times slower running sysbench? Cheers, Werner _________________________________________________ Dr. Werner Lippert Partner peaq GmbH Mobile +41 79 218 84 26 Neugutstrasse 12 wer...@pe... CH-8304 Wallisellen www.peaq.ch _________________________________________________ Get the most out of your Hitachi Storage Systems With peaq IOportal, SAM4H, Crosscharging and Lifecycle Services On 19 Apr 2024, at 18:02, Garcia Victoria, Robin <Rob...@fl...> wrote: These are my results root@rie-ex-web160,apt: sysbench --test=cpu run sysbench 0.4.12: multi-threaded system evaluation benchmark Running the test with following options: Number of threads: 1 Doing CPU performance benchmark Threads started! Done. Maximum prime number checked in CPU test: 10000 Test execution summary: total time: 2.2523s total number of events: 10000 total time taken by event execution: 2.2517 per-request statistics: min: 0.22ms avg: 0.23ms max: 0.60ms approx. 95 percentile: 0.23ms Threads fairness: events (avg/stddev): 10000.0000/0.00 execution time (avg/stddev): 2.2517/0.00 Apptainer> sysbench cpu run sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3) Running the test with following options: Number of threads: 1 Initializing random number generator from current time Prime numbers limit: 10000 Initializing worker threads... Threads started! CPU speed: events per second: 1210.13 General statistics: total time: 10.0007s total number of events: 12104 Latency (ms): min: 0.81 avg: 0.83 max: 1.42 95th percentile: 0.86 sum: 9995.59 Threads fairness: events (avg/stddev): 12104.0000/0.00 execution time (avg/stddev): 9.9956/0.00 Robin Garcia Victoria (M.Sc.) Computer scientist ___________________________________________ Friedrich-Loeffler-Institut Bundesforschungsinstitut für Tiergesundheit Federal Research Institute for Animal Health Höltystr. 10 | 31535 Neustadt Tel: +49 5034 871-5156 (Kein IT-Support!) IT-Hotline: 1699 https://www.fli.de/ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ________________________________________ Von: Werner Lippert <wer...@pe...> Gesendet: Freitag, 19. April 2024 17:17:39 An: Garcia Victoria, Robin Cc: gnu...@li... Betreff: [External] Re: [Gnuplot-info] fit is slow due to missing/wrong shared libraries? ACHTUNG: EXTERNE E-MAIL Hi Robin, You should first run a CPU benchmark on both systems to get a baseline. AMD might be significantly slower than Intel. Cheers, Werner _________________________________________________ Dr. Werner Lippert Partner peaq GmbH Mobile +41 79 218 84 26 Neugutstrasse 12 wer...@pe... CH-8304 Wallisellen www.peaq.ch _________________________________________________ Get the most out of your Hitachi Storage Systems With peaq IOportal, SAM4H, Crosscharging and Lifecycle Services On 19 Apr 2024, at 15:23, Garcia Victoria, Robin <Rob...@fl...> wrote: Hello everyone, I have installed gnuplot 5.0.5 on a VM (on Debian 9) and gnuplot 5.4.4 (Debian 12) in a Singularity container. The runtimes differ considerably: On the VM with gnuplot version 5.0.5 real 0m31.142s user 0m14.280s sys 0m15.672s In the container with gnuplot version 5.4.4 real 2m32.341s user 1m31.325s sys 1m0.593s My specs are: - VM: AMD EPYC 7543P 32-Core Processor and 32GB RAM - Singularity: Intel(R) Xeon(R) Gold 6154 CPU @ 3.00GHz (72-Core) and 378GB RAM root@rie-ex-web160,tmp: cat fit_run_gnuplottestlauf_year1950 Set terminal postscript set output "Inbreeding_log_gnuplottestlauf_year1950.ps" set ylabel "Coefficient" font "Times-Italic,14" set xlabel "Days of birth" font "Times-Italic,14" set style line 1 lt 1 lw 15 set button below set autoscaling xy f(x)=a*x+b FIT_LIMIT =1E-20 fit f(x) "Inbreeding_log_gnuplottestlauf_year1950.csv" u 1:2 via a,b Plot "Inbreeding_log_gnuplottestlauf_year1950.csv" with 1:2 title "Log of Inbreed Coeff", f(x) root@rie-ex-web160,tmp: cat Inbreeding_log_gnuplottestlauf_year1950.csv 1 0.0000000000000000 1950 21 0.0000000000000000 1950 73 0.0000000000000000 1950 265 0.0000000000000000 1950 I have checked which shared libraries are used by gnuplot (ldd /usr/bin/gnuplot). Apptainer> ldd /usr/bin/gnuplot | wc -l 84 root@rie-ex-web160,~: ldd /usr/bin/gnuplot | wc -l 46 My container, where the fitting with gnuplot runs slower than in the VM, has 84 shared libraries for gnuplot, while 46 shared libraries are used by gnuplot in the VM. Could this be the reason why the fitting is significantly slower? I would be grateful for any tips and advice. Best Robin Robin Garcia Victoria (M.Sc.)<http://scanmail.trustwave.com/?c=4477&d=mIui5jG0WgXIqtbgf5hLVlL1pSV3SXy9M8tXpkLvig&u=http%3a%2f%2fM%2eSc%2e%29> Computer scientist ___________________________________________ Friedrich-Loeffler-Institut Bundesforschungsinstitut für Tiergesundheit Federal Research Institute for Animal Health Höltystr. 10 | 31535 Neustadt Tel: +49 5034 871-5156 (Kein IT-Support!) IT-Hotline: 1699 https://www.fli.de/<https://scanmail.trustwave.com/?c=4477&d=mIui5jG0WgXIqtbgf5hLVlL1pSV3SXy9M8lS8xW8jQ&u=https%3a%2f%2fwww%2efli%2ede%2f> ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ _______________________________________________ gnuplot-info mailing list gnu...@li... Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info<https://scanmail.trustwave.com/?c=4477&d=mIui5jG0WgXIqtbgf5hLVlL1pSV3SXy9M8NWoBi_iA&u=https%3a%2f%2flists%2esourceforge%2enet%2flists%2flistinfo%2fgnuplot-info> |
|
From: Garcia V. R. <Rob...@fl...> - 2024-04-19 16:03:03
|
These are my results
root@rie-ex-web160,apt: sysbench --test=cpu run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 1
Doing CPU performance benchmark
Threads started!
Done.
Maximum prime number checked in CPU test: 10000
Test execution summary:
total time: 2.2523s
total number of events: 10000
total time taken by event execution: 2.2517
per-request statistics:
min: 0.22ms
avg: 0.23ms
max: 0.60ms
approx. 95 percentile: 0.23ms
Threads fairness:
events (avg/stddev): 10000.0000/0.00
execution time (avg/stddev): 2.2517/0.00
Apptainer> sysbench cpu run
sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3)
Running the test with following options:
Number of threads: 1
Initializing random number generator from current time
Prime numbers limit: 10000
Initializing worker threads...
Threads started!
CPU speed:
events per second: 1210.13
General statistics:
total time: 10.0007s
total number of events: 12104
Latency (ms):
min: 0.81
avg: 0.83
max: 1.42
95th percentile: 0.86
sum: 9995.59
Threads fairness:
events (avg/stddev): 12104.0000/0.00
execution time (avg/stddev): 9.9956/0.00
Robin Garcia Victoria (M.Sc.)
Computer scientist
___________________________________________
Friedrich-Loeffler-Institut
Bundesforschungsinstitut für Tiergesundheit
Federal Research Institute for Animal Health
Höltystr. 10 | 31535 Neustadt
Tel: +49 5034 871-5156 (Kein IT-Support!)
IT-Hotline: 1699
https://www.fli.de/
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
________________________________________
Von: Werner Lippert <wer...@pe...>
Gesendet: Freitag, 19. April 2024 17:17:39
An: Garcia Victoria, Robin
Cc: gnu...@li...
Betreff: [External] Re: [Gnuplot-info] fit is slow due to missing/wrong shared libraries?
ACHTUNG: EXTERNE E-MAIL
Hi Robin,
You should first run a CPU benchmark on both systems to get a baseline. AMD might be significantly slower than Intel.
Cheers,
Werner
_________________________________________________
Dr. Werner Lippert
Partner
peaq GmbH Mobile +41 79 218 84 26
Neugutstrasse 12 wer...@pe...
CH-8304 Wallisellen www.peaq.ch
_________________________________________________
Get the most out of your Hitachi Storage Systems
With peaq IOportal, SAM4H, Crosscharging and Lifecycle Services
On 19 Apr 2024, at 15:23, Garcia Victoria, Robin <Rob...@fl...> wrote:
Hello everyone,
I have installed gnuplot 5.0.5 on a VM (on Debian 9) and gnuplot 5.4.4 (Debian 12) in a Singularity container.
The runtimes differ considerably:
On the VM with gnuplot version 5.0.5
real 0m31.142s
user 0m14.280s
sys 0m15.672s
In the container with gnuplot version 5.4.4
real 2m32.341s
user 1m31.325s
sys 1m0.593s
My specs are:
- VM: AMD EPYC 7543P 32-Core Processor and 32GB RAM
- Singularity: Intel(R) Xeon(R) Gold 6154 CPU @ 3.00GHz (72-Core) and 378GB RAM
root@rie-ex-web160,tmp: cat fit_run_gnuplottestlauf_year1950
Set terminal postscript
set output "Inbreeding_log_gnuplottestlauf_year1950.ps"
set ylabel "Coefficient" font "Times-Italic,14"
set xlabel "Days of birth" font "Times-Italic,14"
set style line 1 lt 1 lw 15
set button below
set autoscaling xy
f(x)=a*x+b
FIT_LIMIT =1E-20
fit f(x) "Inbreeding_log_gnuplottestlauf_year1950.csv" u 1:2 via a,b
Plot "Inbreeding_log_gnuplottestlauf_year1950.csv" with 1:2 title "Log of Inbreed Coeff", f(x)
root@rie-ex-web160,tmp: cat Inbreeding_log_gnuplottestlauf_year1950.csv
1 0.0000000000000000 1950
21 0.0000000000000000 1950
73 0.0000000000000000 1950
265 0.0000000000000000 1950
I have checked which shared libraries are used by gnuplot (ldd /usr/bin/gnuplot).
Apptainer>
ldd /usr/bin/gnuplot | wc -l
84
root@rie-ex-web160,~: ldd /usr/bin/gnuplot | wc -l
46
My container, where the fitting with gnuplot runs slower than in the VM, has 84 shared libraries for gnuplot, while 46 shared libraries are used by gnuplot in the VM.
Could this be the reason why the fitting is significantly slower?
I would be grateful for any tips and advice.
Best
Robin
Robin Garcia Victoria (M.Sc.)<http://scanmail.trustwave.com/?c=4477&d=mIui5jG0WgXIqtbgf5hLVlL1pSV3SXy9M8tXpkLvig&u=http%3a%2f%2fM%2eSc%2e%29>
Computer scientist
___________________________________________
Friedrich-Loeffler-Institut
Bundesforschungsinstitut für Tiergesundheit
Federal Research Institute for Animal Health
Höltystr. 10 | 31535 Neustadt
Tel: +49 5034 871-5156 (Kein IT-Support!)
IT-Hotline: 1699
https://www.fli.de/<https://scanmail.trustwave.com/?c=4477&d=mIui5jG0WgXIqtbgf5hLVlL1pSV3SXy9M8lS8xW8jQ&u=https%3a%2f%2fwww%2efli%2ede%2f>
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
_______________________________________________
gnuplot-info mailing list
gnu...@li...
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info<https://scanmail.trustwave.com/?c=4477&d=mIui5jG0WgXIqtbgf5hLVlL1pSV3SXy9M8NWoBi_iA&u=https%3a%2f%2flists%2esourceforge%2enet%2flists%2flistinfo%2fgnuplot-info>
|
|
From: Werner L. <wer...@pe...> - 2024-04-19 15:17:55
|
Hi Robin, You should first run a CPU benchmark on both systems to get a baseline. AMD might be significantly slower than Intel. Cheers, Werner _________________________________________________ Dr. Werner Lippert Partner peaq GmbH Mobile +41 79 218 84 26 Neugutstrasse 12 wer...@pe... CH-8304 Wallisellen www.peaq.ch _________________________________________________ Get the most out of your Hitachi Storage Systems With peaq IOportal, SAM4H, Crosscharging and Lifecycle Services On 19 Apr 2024, at 15:23, Garcia Victoria, Robin <Rob...@fl...> wrote: Hello everyone, I have installed gnuplot 5.0.5 on a VM (on Debian 9) and gnuplot 5.4.4 (Debian 12) in a Singularity container. The runtimes differ considerably: On the VM with gnuplot version 5.0.5 real 0m31.142s user 0m14.280s sys 0m15.672s In the container with gnuplot version 5.4.4 real 2m32.341s user 1m31.325s sys 1m0.593s My specs are: - VM: AMD EPYC 7543P 32-Core Processor and 32GB RAM - Singularity: Intel(R) Xeon(R) Gold 6154 CPU @ 3.00GHz (72-Core) and 378GB RAM root@rie-ex-web160,tmp: cat fit_run_gnuplottestlauf_year1950 Set terminal postscript set output "Inbreeding_log_gnuplottestlauf_year1950.ps" set ylabel "Coefficient" font "Times-Italic,14" set xlabel "Days of birth" font "Times-Italic,14" set style line 1 lt 1 lw 15 set button below set autoscaling xy f(x)=a*x+b FIT_LIMIT =1E-20 fit f(x) "Inbreeding_log_gnuplottestlauf_year1950.csv" u 1:2 via a,b Plot "Inbreeding_log_gnuplottestlauf_year1950.csv" with 1:2 title "Log of Inbreed Coeff", f(x) root@rie-ex-web160,tmp: cat Inbreeding_log_gnuplottestlauf_year1950.csv 1 0.0000000000000000 1950 21 0.0000000000000000 1950 73 0.0000000000000000 1950 265 0.0000000000000000 1950 I have checked which shared libraries are used by gnuplot (ldd /usr/bin/gnuplot). Apptainer> ldd /usr/bin/gnuplot | wc -l 84 root@rie-ex-web160,~: ldd /usr/bin/gnuplot | wc -l 46 My container, where the fitting with gnuplot runs slower than in the VM, has 84 shared libraries for gnuplot, while 46 shared libraries are used by gnuplot in the VM. Could this be the reason why the fitting is significantly slower? I would be grateful for any tips and advice. Best Robin Robin Garcia Victoria (M.Sc.) Computer scientist ___________________________________________ Friedrich-Loeffler-Institut Bundesforschungsinstitut für Tiergesundheit Federal Research Institute for Animal Health Höltystr. 10 | 31535 Neustadt Tel: +49 5034 871-5156 (Kein IT-Support!) IT-Hotline: 1699 https://www.fli.de/ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ _______________________________________________ gnuplot-info mailing list gnu...@li... Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: Garcia V. R. <Rob...@fl...> - 2024-04-19 13:39:12
|
Hello everyone, I have installed gnuplot 5.0.5 on a VM (on Debian 9) and gnuplot 5.4.4 (Debian 12) in a Singularity container. The runtimes differ considerably: On the VM with gnuplot version 5.0.5 real 0m31.142s user 0m14.280s sys 0m15.672s In the container with gnuplot version 5.4.4 real 2m32.341s user 1m31.325s sys 1m0.593s My specs are: - VM: AMD EPYC 7543P 32-Core Processor and 32GB RAM - Singularity: Intel(R) Xeon(R) Gold 6154 CPU @ 3.00GHz (72-Core) and 378GB RAM root@rie-ex-web160,tmp: cat fit_run_gnuplottestlauf_year1950 Set terminal postscript set output "Inbreeding_log_gnuplottestlauf_year1950.ps" set ylabel "Coefficient" font "Times-Italic,14" set xlabel "Days of birth" font "Times-Italic,14" set style line 1 lt 1 lw 15 set button below set autoscaling xy f(x)=a*x+b FIT_LIMIT =1E-20 fit f(x) "Inbreeding_log_gnuplottestlauf_year1950.csv" u 1:2 via a,b Plot "Inbreeding_log_gnuplottestlauf_year1950.csv" with 1:2 title "Log of Inbreed Coeff", f(x) root@rie-ex-web160,tmp: cat Inbreeding_log_gnuplottestlauf_year1950.csv 1 0.0000000000000000 1950 21 0.0000000000000000 1950 73 0.0000000000000000 1950 265 0.0000000000000000 1950 I have checked which shared libraries are used by gnuplot (ldd /usr/bin/gnuplot). Apptainer> ldd /usr/bin/gnuplot | wc -l 84 root@rie-ex-web160,~: ldd /usr/bin/gnuplot | wc -l 46 My container, where the fitting with gnuplot runs slower than in the VM, has 84 shared libraries for gnuplot, while 46 shared libraries are used by gnuplot in the VM. Could this be the reason why the fitting is significantly slower? I would be grateful for any tips and advice. Best Robin Robin Garcia Victoria (M.Sc.) Computer scientist ___________________________________________ Friedrich-Loeffler-Institut Bundesforschungsinstitut für Tiergesundheit Federal Research Institute for Animal Health Höltystr. 10 | 31535 Neustadt Tel: +49 5034 871-5156 (Kein IT-Support!) IT-Hotline: 1699 https://www.fli.de/ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ |
|
From: Lars N. <lar...@gm...> - 2024-04-19 07:29:21
|
On 4/18/24 21:41, hchiPer wrote: [snip] > - change the time format: > > set timefmt "%H:%M:%S" > ### instead of set timefmt "%Y-%m-%d\t%H:%M:%S" Thanks! That was the key to solving this. [snip] > set xrange ["00:00:00":"23:59:59"] > > - use column 2 instead of column 1 in the plot command: [snip] And with that, I can remove the system calls and still get a chart from midnight to midnight. /Lars |
|
From: hchiPer <hc...@gm...> - 2024-04-18 19:05:28
|
I tried your example and I don't notice a problem. What do you mean by "The major and minor ticks on the axis seem to be incorrect"? Le 18/04/24 à 02:07, Al Conle a écrit : > The major and minor ticks on the axis seem to be incorrect. > |
|
From: hchiPer <hc...@gm...> - 2024-04-18 18:41:33
|
I've copied pasted your example and it is not working (error message =
line 39: all points y value undefined!)
I could make it work with the following modifications:
- remove the 3 tabs and leave just 1 in the data file
- change the time format:
set timefmt "%H:%M:%S" ### instead of set timefmt "%Y-%m-%d\t%H:%M:%S"
- remove the 2 system calls
- change the xrange:
set xrange ["00:00:00":"23:59:59"]
- use column 2 instead of column 1 in the plot command:
plot "./x.txt" using 2:3:(rgb3($3)) with line lw 1 lc rgb variable
notitle
Le 14/04/24 à 11:13, Lars Noodén via gnuplot-info a écrit :
>
> Greetings,
>
> Thanks for Gnuplot. I've been using it to graph various sensor
> readings for some years now. From time to time, it becomes useful to
> make modifications and between the documentation, various examples, and
> trial-and-error the results look nice in addition to being functional.
>
> My question is how would I set X-Range to be the time from 00:00:00 to
> 23:59:59 on the current date? Specifically, I would like the X-axis to
> range from midnight to midnight for the current date.
>
> I can't hard code it in to Gnuplot since, obviously, the date changes
> every day. Also since the data to be graphed comes in at different
> times during the day, using it provides an inconsistent X-Range which
> changes as the hours go by. So that can't be used either.
>
> One way seems to be to use system() to call the date(1) utility twice
> and storing output in variables. This is seen in lines 25 through 27 of
> the script below.
>
> Perhaps there is a better way without needing to use the system() call?
>
> /Lars
>
> PS. The file x.txt has three tab-delimited columns. e.g.
>
> 2024-04-14 10:40:00 20.375
> 2024-04-14 10:50:00 20.375
> 2024-04-14 11:00:00 20.437
> 2024-04-14 11:10:00 20.5
> 2024-04-14 11:20:00 20.5
>
>
> --
>
> #!/usr/bin/gnuplot
>
> set output "./x.png"
> set term png size 400, 400
> set term png background "#fff0f0f0"
> set termoption font "Liberation Sans, 12"
>
> set datafile separator tab
>
> set xdata time
> set timefmt "%Y-%m-%d\t%H:%M:%S"
> set xtics format "%H" font "Liberation Sans, 11"
> set xtics timedate
>
> # draw line at zero
> set arrow 1 from graph 0, first 0.0 to graph 1, \
> first 0.0 nohead lw 2 lc rgb "#e0e0e0" back
>
> set ytics format "%0.0f°" font "Liberation Sans, 11"
> set yrange [*<-5:30<*] writeback
> # set yrange restore
>
> xs=system("date -d '00:00:00' +'%F\t%T'")
> xe=system("date -d '23:59:59' +'%F\t%T'")
> set xrange [xs:xe]
>
> set xlabel "Time" font "Liberation Sans, 14"
> set ylabel "Degrees Celsius" font "Liberation Sans, 14"
>
> set title "Since Midnight" font "Liberation Sans, 16"
>
> # probe 1, change color when at or below 15°C
> rgb3(b) = (b <= 15 ? 32767 : 65280 )
>
> plot \
> "./x.txt" \
> using 1:3:(rgb3($3)) \
> with line lw 1 lc rgb variable \
> title ""
>
>
>
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|
|
From: Al C. <fa...@gm...> - 2024-04-18 00:07:33
|
Hi, I have a problem with the logscale display on the x axis while trying to plot data between 1.0 and 1.0E+10 The major and minor ticks on the axis seem to be incorrect. Example gnuplot script: #------------------------------------------ set term qt enhanced font "liberation sans,14" set grid set logscale xy set xlabel "Rev" set pointsize 1 set key font "liberation sans,12" set xrange [1:1.0E+10] # set xrange [1:1.0E+09] # set xrange [1:1.0E+12] set yrange [0.1:1.0] set key bottom set colorbox default set cbrange [100:700] set palette #This will reset to default #input Data format is: # 0.0010 1 209 814 0000 208920 1 461 set ylabel "Fraction" plot "temp" u 2:7:8 w lp pt 7 #-------------------------------------------- # the data file "temp" consist of: #0.0035 1 721 -437 00005 208920 1 461 #0.0035 10 721 -437 00005 208920 0.94 461 #0.0035 100 721 -437 00005 208920 0.88 461 0.0035 200 721 -437 00005 208920 0.85 461 0.0035 1000000 721 -437 00005 208920 0.63 461 0.0035 1.0E+10 721 -437 00005 208920 0.47 461 #-------------------------------------- Using an "set xrange [1.0:1.0E+09 ]" will display correctly. Anything over 1.0E+10 causes problems. Note that the data seems to be plotting correctly in the grid. It seems to be only an axis tick problem. best regards, Al |