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
(18) |
May
(2) |
Jun
(2) |
Jul
(2) |
Aug
(3) |
Sep
(6) |
Oct
(3) |
Nov
(2) |
Dec
|
|
From: Tatsuro M. <tma...@ya...> - 2017-07-28 09:58:07
|
> I have post a mail before seeing your reply. > OK. I will open bug ticket. > > Tatsuro I have open a bug ticket https://sourceforge.net/p/gnuplot/bugs/1950/ Tatsuro |
|
From: Tatsuro M. <tma...@ya...> - 2017-07-28 09:46:30
|
>> ----- Original Message ----- >>> From: theozh >>> To: gnuplot-info >>> Cc: >>> Date: 2017/7/28, Fri 04:42 >>> Subject: Re: [Gnuplot-info] How to ignore "popen failed"? >>> >>> Hi Iva, >>> thank you for this observation. >>> Yes, I typically start my scripts under wgnuplot.exe, where the > original >>> code terminates when no file is found. >>> If I start the same code under the gnuplot.exe terminal it works fine! >>> >>> Maybe somebody can explain why there is this difference and maybe >>> whether or how it's possible to make it behave the same under >> wgnuplot.exe? >>> >>> So, for the time being, no need for extra software like awk, cygwin, >>> Perl, wrapper-Script, ... >>> Thanks, Theo. >>> >> >> What happens you execute the script on wgnuplot_pipes.exe? >> >> Tatsuro >> >> > In windows binary distribution, there is a file named README-Windows.txt > There described > > * wgnuplot.exe: GUI version and the default gnuplot executable. As of version 5 > > it emulates pipe functionality. > > * wgnuplot_pipes.exe: Variant with full pipe functionality at the expense of > an additional console window. > > * gnuplot.exe: Text (console) mode version of the gnuplot executable with full > pipe functionality as it is common on other platforms. In contrast to > wgnuplot.exe, this program can also accept commands on stdin (standard input) > and print messages on stdout (standard output). It replaces pgnuplot.exe and > is recommended to be used with 3rd party applications using gnuplot as graph > engine, like e.g. Octave (www.octave.org). > > Perhaps what you met is side effect? of pipe emulation. > > I have tried > > flist=system ("dir /B *.dat") > in the folder where no *.dat on wgnuplot_pipes.exe > A message 'File not found' appears in the additional console and > "popen failed" does not appear. > I have tried on wgnuplot_pipes.exe > > I think that workaround at present is to use wgnuplot_pipes. > > BTW, please open a bug ticket on > https://sourceforge.net/p/gnuplot/bugs/ > > This topic should be discussed there but not gnuplot-info list in my opinion. > > Tatsuro > Thanks, Tatsuro, for that hint. Haven't tried so far. > Well, then it also seems to work :-). > So, problem solved...?! I have post a mail before seeing your reply. OK. I will open bug ticket. Tatsuro |
|
From: Tatsuro M. <tma...@ya...> - 2017-07-28 09:42:10
|
----- Original Message ----- > From: Tatsuro MATSUOKA <tma...@ya...> > To: theozh <th...@gm...>; gnu...@li... > Cc: > Date: 2017/7/28, Fri 16:38 > Subject: Re: [Gnuplot-info] How to ignore "popen failed"? > > > > > > ----- Original Message ----- >> From: theozh >> To: gnuplot-info >> Cc: >> Date: 2017/7/28, Fri 04:42 >> Subject: Re: [Gnuplot-info] How to ignore "popen failed"? >> >> Hi Iva, >> thank you for this observation. >> Yes, I typically start my scripts under wgnuplot.exe, where the original >> code terminates when no file is found. >> If I start the same code under the gnuplot.exe terminal it works fine! >> >> Maybe somebody can explain why there is this difference and maybe >> whether or how it's possible to make it behave the same under > wgnuplot.exe? >> >> So, for the time being, no need for extra software like awk, cygwin, >> Perl, wrapper-Script, ... >> Thanks, Theo. >> > > What happens you execute the script on wgnuplot_pipes.exe? > > Tatsuro > > In windows binary distribution, there is a file named README-Windows.txt There described * wgnuplot.exe: GUI version and the default gnuplot executable. As of version 5 it emulates pipe functionality. * wgnuplot_pipes.exe: Variant with full pipe functionality at the expense of an additional console window. * gnuplot.exe: Text (console) mode version of the gnuplot executable with full pipe functionality as it is common on other platforms. In contrast to wgnuplot.exe, this program can also accept commands on stdin (standard input) and print messages on stdout (standard output). It replaces pgnuplot.exe and is recommended to be used with 3rd party applications using gnuplot as graph engine, like e.g. Octave (www.octave.org). Perhaps what you met is side effect? of pipe emulation. I have tried flist=system ("dir /B *.dat") in the folder where no *.dat on wgnuplot_pipes.exe A message 'File not found' appears in the additional console and "popen failed" does not appear. I have tried on wgnuplot_pipes.exe I think that workaround at present is to use wgnuplot_pipes. BTW, please open a bug ticket on https://sourceforge.net/p/gnuplot/bugs/ This topic should be discussed there but not gnuplot-info list in my opinion. Tatsuro Tatsuro |
|
From: theozh <th...@gm...> - 2017-07-28 09:33:47
|
> What happens you execute the script on wgnuplot_pipes.exe? > Thanks, Tatsuro, for that hint. Haven't tried so far. Well, then it also seems to work :-). So, problem solved...?! |
|
From: Tatsuro M. <tma...@ya...> - 2017-07-28 07:38:21
|
----- Original Message ----- > From: theozh > To: gnuplot-info > Cc: > Date: 2017/7/28, Fri 04:42 > Subject: Re: [Gnuplot-info] How to ignore "popen failed"? > > Hi Iva, > thank you for this observation. > Yes, I typically start my scripts under wgnuplot.exe, where the original > code terminates when no file is found. > If I start the same code under the gnuplot.exe terminal it works fine! > > Maybe somebody can explain why there is this difference and maybe > whether or how it's possible to make it behave the same under wgnuplot.exe? > > So, for the time being, no need for extra software like awk, cygwin, > Perl, wrapper-Script, ... > Thanks, Theo. > What happens you execute the script on wgnuplot_pipes.exe? Tatsuro |
|
From: Ethan M. <eam...@gm...> - 2017-07-27 23:08:37
|
On Thu, Jul 27, 2017 at 3:38 PM, Dave Horsfall <da...@ho...> wrote:
> On Thu, 27 Jul 2017, sfeam via gnuplot-info wrote:
>
> The issue is not the missing file per se, it's that apparently Windows
>> considers this sufficiently severe to return an error code from the "dir"
>> command. It isn't a problem on unix/linux, where "ls" will print a warning
>> message but returns success. So I imagine it would be sufficient to wrap
>> your "dir" command in a script MYDIR that always returns success even if
>> the real "dir" fails:
>>
>
> Unix (FreeBSD):
>
> aneurin% ls fred
> ls: fred: No such file or directory
> aneurin% echo $?
> 1
>
>
> Linux (Debian):
>
> dave@debbie:~$ ls fred
> ls: cannot access fred: No such file or directory
> dave@debbie:~$ echo $?
> 2
>
>
> You were saying
The question is what popen() returns. Yes I was sloppy in saying "what ls
returns" rather than "what popen("ls","r") returns" but it should have been
clear from the context. Here it is with a debug printout in place:
gnuplot>
gnuplot> foo = system("ls *.c")
popen("ls *.c","r") returns 15160096
gnuplot> foo = system("ls fred")
popen("ls fred","r") returns 15169872
ls: cannot access fred: No such file or directory
man page for "popen" says
RETURN VALUE
The popen() function returns NULL if the fork(2) or pipe(2) calls
fail, or
if it cannot allocate memory.
man page for "pipe" says
RETURN VALUE
On success, zero is returned. On error, -1 is returned, and errno
is set
appropriately.
Clear as mud. But operationally is evident that pipe() returns zero from
"ls fred"
> --
> Dave Horsfall DTM (VK2KFU) "Those who don't understand security will
> suffer."
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via: https://lists.sourceforge.net/
> lists/listinfo/gnuplot-info
>
|
|
From: Dave H. <da...@ho...> - 2017-07-27 22:38:36
|
On Thu, 27 Jul 2017, sfeam via gnuplot-info wrote: > The issue is not the missing file per se, it's that apparently Windows > considers this sufficiently severe to return an error code from the > "dir" command. It isn't a problem on unix/linux, where "ls" will print > a warning message but returns success. So I imagine it would be > sufficient to wrap your "dir" command in a script MYDIR that always > returns success even if the real "dir" fails: Unix (FreeBSD): aneurin% ls fred ls: fred: No such file or directory aneurin% echo $? 1 Linux (Debian): dave@debbie:~$ ls fred ls: cannot access fred: No such file or directory dave@debbie:~$ echo $? 2 You were saying? -- Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer." |
|
From: theozh <th...@gm...> - 2017-07-27 19:42:23
|
Hi Iva, thank you for this observation. Yes, I typically start my scripts under wgnuplot.exe, where the original code terminates when no file is found. If I start the same code under the gnuplot.exe terminal it works fine! Maybe somebody can explain why there is this difference and maybe whether or how it's possible to make it behave the same under wgnuplot.exe? So, for the time being, no need for extra software like awk, cygwin, Perl, wrapper-Script, ... Thanks, Theo. |
|
From: Rob S. <rob...@ut...> - 2017-07-27 19:05:12
|
Or cygwin https://www.cygwin.com On 07/27/2017 12:06 PM, BBands wrote: > This might be an auspicious moment to note that *nix utilities are > available for windows. > > https://sourceforge.net/projects/unxutils/ > > Very helpful in my opinion, > > John > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: BBands <bb...@gm...> - 2017-07-27 18:06:59
|
This might be an auspicious moment to note that *nix utilities are available for windows. https://sourceforge.net/projects/unxutils/ Very helpful in my opinion, John |
|
From: ivana r. <iva...@mf...> - 2017-07-27 16:31:29
|
Hi all, I'd like to declare I don't understand windows. So just small observation. If I unzip current non-installing version (gp52rc2-win64-mingw.zip), I get few exe-files in bin-directory. If I run gnuplot.exe under Win7Pro, it launches in terminal mode. If dir failes, error message is printed, syscall returns en empty string, and GPVAL_ERRNO is set correctly. Almost as on linux. Contrary, if I run wgnuplot.exe, a new window is created. Another window is created as well for each dir call (and !dir just blink its window, no data remains). The popen_failed is returned if dir running in the new window fails. So I guess, the problem consist in OS libraries: It would be acceptable solution to run gnuplot scripts with potentially crashing syscalls by gnuplot clones that are compiled via libraries that don't produce new windows for syscall. Sincerely Iva |
|
From: sfeam <sf...@us...> - 2017-07-27 15:48:15
|
On Thursday, 27 July 2017 09:34:18 theozh wrote:
> Hi,
> I would like to plot many files (under Windows) in a multiplot
> environment using a loop.
> The filenames without extensions are e.g.,
> Data1a, Data1b, Data2, Data3, Data3a, Data3b, Data5a, ...
>
> set multiplot layout 3,3
> do for [i = 1:9] {
> FileList = system("dir /B /S Data".i."*.dat")
> plot for [FileName in FileList] FileName u 1:2 w l
> }
> unset multiplot
>
> I want all Data1 in one plot, all Data2 in the next plot, etc.
> It varies how many plots (a,b,c,...) of each.
> However, it could also happen that, e.g. there is no "Data4" file.
>
> In case there is no matching file in the directory gnuplot exits with a
> message "popen failed" and FileList is not changed.
The issue is not the missing file per se, it's that apparently Windows
considers this sufficiently severe to return an error code from the
"dir" command. It isn't a problem on unix/linux, where "ls" will
print a warning message but returns success. So I imagine it would
be sufficient to wrap your "dir" command in a script MYDIR that always
returns success even if the real "dir" fails:
FileList = system( "MYDIR Data".1."*.dat" )
> How to ignore "pope failed" and instead just create an empty plot?
You can't ignore "popen failed", you'll have to prevent it from failing.
> Thank you for any hints.
|
|
From: theozh <th...@gm...> - 2017-07-27 14:38:53
|
well, I don't know awk or cygwin... but a little Perl...
Maybe someone can tell me whether awk, cygwin, ... is smaller, simpler,
faster to install and run... than Perl?
So, the following below seems to be a solution, although, I prefer not
to install Perl or anything else on every machine before I can run the
gnuplot code...
If someone still has a "gnuplot-only" version, please let me know.
During my search, I found a discussion from >10 years ago whether
gnuplot should have a function to check the existance of a file. But it
seems it was rejected.
Why can't gnuplot just give back an empty string instead of terminating?
Perl-Script FileList.pl:
### Perl Script to print a directory list
print qx{"dir /B /S $ARGV[0]"};
### end Perl-Script
### gnuplot code
reset
set multiplot layout 3,3
do for [i = 1:9] {
FileList = system("perl FileList.pl Data".i."*.dat")
if (FileList ne "") {
plot for [FileName in FileList] FileName u 1:2 w l
}
else { set multiplot next}
}
unset multiplot
### end gnuplot code
|
|
From: theozh <th...@gm...> - 2017-07-27 09:37:57
|
Hi Iva,
thanks for your message.
Sorry, I didn't mention the Version number and OP-System: Win7Pro SP1.
I had gnuplot 5.0 patch 0, was installing 5.0.6 and finally also 5.2 rc2.
with
FileList = system("dir /B xxx*.dat")
and if no file "xxx.dat" is existing, I always get the message "popen
failed", gnuplot terminates and FileList is unchanged.
I don't see any different behaviour with the different gnuplot versions.
What I am doing wrong?
Theo.
|
|
From: ivana r. <iva...@mf...> - 2017-07-27 08:31:15
|
Hi Theo,
what version of gnuplot you are running?
With V5+ and windows 7Pro, I get error message "File not found",
GPVAL_ERRNO is set and gnuplot doesn't exit.
(Then you can decide if plot the graph according to value of
GPVAL_ERRNO or words(FileList))
(Note that since V5.2 gnuplot recognize continue command)
(The empty plot you can get, e.g.: #plot [0:1][0:1] 1/0 not)
Sincerely
Iva
On 27/07/2017, theozh <th...@gm...> wrote:
> Hi,
> I would like to plot many files (under Windows) in a multiplot
> environment using a loop.
> The filenames without extensions are e.g.,
> Data1a, Data1b, Data2, Data3, Data3a, Data3b, Data5a, ...
>
> set multiplot layout 3,3
> do for [i = 1:9] {
> FileList = system("dir /B /S Data".i."*.dat")
> plot for [FileName in FileList] FileName u 1:2 w l
> }
> unset multiplot
>
> I want all Data1 in one plot, all Data2 in the next plot, etc.
> It varies how many plots (a,b,c,...) of each.
> However, it could also happen that, e.g. there is no "Data4" file.
>
> In case there is no matching file in the directory gnuplot exits with a
> message "popen failed" and FileList is not changed.
> How to ignore "pope failed" and instead just create an empty plot?
>
> Thank you for any hints.
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
|
|
From: theozh <th...@gm...> - 2017-07-27 07:34:26
|
Hi,
I would like to plot many files (under Windows) in a multiplot
environment using a loop.
The filenames without extensions are e.g.,
Data1a, Data1b, Data2, Data3, Data3a, Data3b, Data5a, ...
set multiplot layout 3,3
do for [i = 1:9] {
FileList = system("dir /B /S Data".i."*.dat")
plot for [FileName in FileList] FileName u 1:2 w l
}
unset multiplot
I want all Data1 in one plot, all Data2 in the next plot, etc.
It varies how many plots (a,b,c,...) of each.
However, it could also happen that, e.g. there is no "Data4" file.
In case there is no matching file in the directory gnuplot exits with a
message "popen failed" and FileList is not changed.
How to ignore "pope failed" and instead just create an empty plot?
Thank you for any hints.
|
|
From: Ethan A M. <eam...@gm...> - 2017-07-22 23:42:55
|
On Saturday, 22 July 2017 23:20:19 Omamuyovwi Akemu via gnuplot-info wrote: > Many many thanks Sir Ethan A Merritt. > I sincerely appreciate your prompt response. I now have the solution to my questions. Thank you Sir.However, I will appreciate any clue that can help me add colours to the several planes (x-y plane, x-z plane and x-y plane> There is no easy way to do that in gnuplot. > Secondly, I also desire to fill the area below the line in the 3D plot but don't know. It depends which gnuplot version you are using. This demo shows two different methods http://gnuplot.sourceforge.net/demo_5.2/fenceplot.html The first method (top plot) can be used with older gnuplot versions. The second method (bottom plot) is much easier but it requires version 5.2 which at the moment is only available as a release candidate. Here is another demo using the new method: http://gnuplot.sourceforge.net/demo_cvs/zerror.html Ethan |
|
From: Omamuyovwi A. <oma...@ya...> - 2017-07-22 23:20:36
|
Many many thanks Sir Ethan A Merritt. I sincerely appreciate your prompt response. I now have the solution to my questions. Thank you Sir.However, I will appreciate any clue that can help me add colours to the several planes (x-y plane, x-z plane and x-y plane). I tried the command: set palette model RGB functions 0.9, 0.9,0.95 it did not yield good result. Secondly, I also desire to fill the area below the line in the 3D plot but don't know. Thanks a million. Jolayemi Omamuyovwi Rita University of Benin Nigeria |
|
From: Ethan A M. <eam...@gm...> - 2017-07-22 21:50:17
|
On Saturday, 22 July 2017 21:10:19 Omamuyovwi Akemu via gnuplot-info wrote:
> Many thanks to your response SIr.
> I've been able to understand how to use the command better to suit my desired plot but I still have two questions.Using the script and data below, I got something meaningful but I do not understand why I had to first duplicate the set of value before the plot appear.
I do not understand what you are saying.
> Any comment to help me understand will be greatly appreciated. Secondly, is there a way to indicate a constant plot value for a column without necessarily indicate it in file? (Using my data as example, i had type the the constant value 3 in the second column of the data.)
Anything in parenthesis is evaluated as an expression.
That expression can be a simple constant.
splot ... using (3.0):1:3 with lines
If you want each indexed block to have a different x coordinate:
splot for [i=1:n] 'omom.dat' index i using (i):1:3 w lines lc rgb word(colors,i)
> #script
> set terminal postscript eps enhanced color
> set encoding iso_8859_1
> set output 'omam.eps'
> set ticslevel 0
> set xlabel 'x'
> set ylabel 'y'
> set zlabel 'z'
>
>
> colors = "red red red red red"
> splot for [i=1:words(colors)] 'omam.dat' index i u 2:1:3 w lines lc rgb word(colors,i)
>
>
> #file data 6.437 3 -0.747E-05
> 6.537 3 -0.173E-03
> 6.637 3 -0.653E-03
> 6.737 3 0.372E-02
> 6.837 3 0.120E-01
> 6.937 3 0.469E-02
> 7.037 3 -0.579E-02
> 7.137 3 0.104E-01
> 7.237 3 0.952E-01
> 7.337 3 0.806E-01
> 7.437 3 0.877E-03
> 7.537 3 -0.308E-02
> 7.637 3 0.328E-01
> 7.737 3 0.371E-01
> 7.837 3 -0.422E-02
> 7.937 3 0.360E-01
> 8.037 3 0.151E+00
> 8.137 3 0.764E-01
> 8.237 3 0.172E-01
> 8.337 3 0.623E-01
> 8.437 3 0.240E-01
> 8.537 3 -0.774E-02
> 8.637 3 0.584E-01
> 8.737 3 0.118E+00
> 8.837 3 0.287E-01
> 8.937 3 0.760E-02
> 9.037 3 0.152E+00
> 9.137 3 0.242E+00
> 9.237 3 0.791E-01
> 9.337 3 0.621E-01
> 9.437 3 0.944E-01
> 9.537 3 0.641E-01
> 9.637 3 0.103E+00
> 9.737 3 0.807E-01
> 9.837 3 0.622E-01
> 9.937 3 0.163E+00
> 10.037 3 0.106E+00
> 10.137 3 0.117E-01
> 10.237 3 0.449E-01
> 10.337 3 0.445E-01
> 10.437 3 0.289E-01
> 10.537 3 0.438E-01
> 10.637 3 0.189E-01
> 10.737 3 0.759E-03
> 10.837 3 0.225E-02
> 10.937 3 0.135E-02
> 11.037 3 0.159E-02
> 11.137 3 0.125E-02
> 11.237 3 0.730E-04
>
> Thank you in advance for the anticipated comments.
>
>
> Jolayemi Omamuyovwi RitaUniversity of BeninNigeria
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
--
|
|
From: Omamuyovwi A. <oma...@ya...> - 2017-07-22 21:10:30
|
Many thanks to your response SIr. I've been able to understand how to use the command better to suit my desired plot but I still have two questions.Using the script and data below, I got something meaningful but I do not understand why I had to first duplicate the set of value before the plot appear.Any comment to help me understand will be greatly appreciated. Secondly, is there a way to indicate a constant plot value for a column without necessarily indicate it in file? (Using my data as example, i had type the the constant value 3 in the second column of the data.) #script set terminal postscript eps enhanced color set encoding iso_8859_1 set output 'omam.eps' set ticslevel 0 set xlabel 'x' set ylabel 'y' set zlabel 'z' colors = "red red red red red" splot for [i=1:words(colors)] 'omam.dat' index i u 2:1:3 w lines lc rgb word(colors,i) #file data 6.437 3 -0.747E-05 6.537 3 -0.173E-03 6.637 3 -0.653E-03 6.737 3 0.372E-02 6.837 3 0.120E-01 6.937 3 0.469E-02 7.037 3 -0.579E-02 7.137 3 0.104E-01 7.237 3 0.952E-01 7.337 3 0.806E-01 7.437 3 0.877E-03 7.537 3 -0.308E-02 7.637 3 0.328E-01 7.737 3 0.371E-01 7.837 3 -0.422E-02 7.937 3 0.360E-01 8.037 3 0.151E+00 8.137 3 0.764E-01 8.237 3 0.172E-01 8.337 3 0.623E-01 8.437 3 0.240E-01 8.537 3 -0.774E-02 8.637 3 0.584E-01 8.737 3 0.118E+00 8.837 3 0.287E-01 8.937 3 0.760E-02 9.037 3 0.152E+00 9.137 3 0.242E+00 9.237 3 0.791E-01 9.337 3 0.621E-01 9.437 3 0.944E-01 9.537 3 0.641E-01 9.637 3 0.103E+00 9.737 3 0.807E-01 9.837 3 0.622E-01 9.937 3 0.163E+00 10.037 3 0.106E+00 10.137 3 0.117E-01 10.237 3 0.449E-01 10.337 3 0.445E-01 10.437 3 0.289E-01 10.537 3 0.438E-01 10.637 3 0.189E-01 10.737 3 0.759E-03 10.837 3 0.225E-02 10.937 3 0.135E-02 11.037 3 0.159E-02 11.137 3 0.125E-02 11.237 3 0.730E-04 Thank you in advance for the anticipated comments. Jolayemi Omamuyovwi RitaUniversity of BeninNigeria |
|
From: sfeam <sf...@us...> - 2017-07-22 17:28:10
|
On Saturday, 22 July 2017 05:23:54 Omamuyovwi Akemu via gnuplot-info wrote: > Dear Gnuplot User, > I have a set of data PDOS (precisely partial density of state) which shows the contribution of each valence electron to the total density of state of a material. > I will like to plot PDOS in 3D but I really do not know how to go about after sorting for solution on the Internet. > The nature of the PDOS data is given below:# E (eV) ldos(E) pdos(E) > 6.437 -0.747E-05 -0.747E-05 > 6.537 -0.173E-03 -0.173E-03 > 6.637 -0.653E-03 -0.653E-03 > 6.737 0.372E-02 0.372E-02 > 6.837 0.120E-01 0.120E-01 > 6.937 0.469E-02 0.469E-02 > 7.037 -0.579E-02 -0.579E-02 > 7.137 0.104E-01 0.104E-01 > 7.237 0.952E-01 0.952E-01 > 7.337 0.806E-01 0.806E-01 > 7.437 0.877E-03 0.877E-03 > 7.537 -0.308E-02 -0.308E-02 > 7.637 0.328E-01 0.328E-01 > 7.737 0.371E-01 0.371E-01 > 7.837 -0.422E-02 -0.422E-02 > 7.937 0.360E-01 0.360E-01 > 8.037 0.151E+00 0.151E+00 > 8.137 0.764E-01 0.764E-01 > 8.237 0.172E-01 0.172E-01 > 8.337 0.623E-01 0.623E-01 > 8.437 0.240E-01 0.240E-01 > 8.537 -0.774E-02 -0.774E-02 > > I have a mini script that provides the frame of the 3D plot. I just need to insert the 2D data in the 3D frame. > I just need to use columns 1 and 3 for the plot i.e column 3 for the z-axis and column 1 for x/y axis in 3D.Thank you for your assistance. > > Jolayemi Omamuyovwi RitaPhysics Department We could understand the question better if you would point to an example of the type of plot you are trying to create. You say column 1 for x/y and column 3 for z, so perhaps you want splot 'data' using 1:1:3 with lines Ethan |
|
From: Omamuyovwi A. <oma...@ya...> - 2017-07-22 05:24:01
|
Dear Gnuplot User, I have a set of data PDOS (precisely partial density of state) which shows the contribution of each valence electron to the total density of state of a material. I will like to plot PDOS in 3D but I really do not know how to go about after sorting for solution on the Internet. The nature of the PDOS data is given below:# E (eV) ldos(E) pdos(E) 6.437 -0.747E-05 -0.747E-05 6.537 -0.173E-03 -0.173E-03 6.637 -0.653E-03 -0.653E-03 6.737 0.372E-02 0.372E-02 6.837 0.120E-01 0.120E-01 6.937 0.469E-02 0.469E-02 7.037 -0.579E-02 -0.579E-02 7.137 0.104E-01 0.104E-01 7.237 0.952E-01 0.952E-01 7.337 0.806E-01 0.806E-01 7.437 0.877E-03 0.877E-03 7.537 -0.308E-02 -0.308E-02 7.637 0.328E-01 0.328E-01 7.737 0.371E-01 0.371E-01 7.837 -0.422E-02 -0.422E-02 7.937 0.360E-01 0.360E-01 8.037 0.151E+00 0.151E+00 8.137 0.764E-01 0.764E-01 8.237 0.172E-01 0.172E-01 8.337 0.623E-01 0.623E-01 8.437 0.240E-01 0.240E-01 8.537 -0.774E-02 -0.774E-02 I have a mini script that provides the frame of the 3D plot. I just need to insert the 2D data in the 3D frame. I just need to use columns 1 and 3 for the plot i.e column 3 for the z-axis and column 1 for x/y axis in 3D.Thank you for your assistance. Jolayemi Omamuyovwi RitaPhysics Department University of Benin |
|
From: Alan C. <ala...@gm...> - 2017-07-22 03:16:48
|
If I've got a bunch of csv files like iqd_1.dat, iqd_2.dat, iqd_3.dat and I'd like to plot them to iqd_1.gif, iqd_2.gif, iqd_3.gif is there a shortcut other than making a bunch of individual plot files? I read somewhere that until version 5 you could use $1 as a file name like in unix scripts, it seems like something must have replaced that. I could write a for loop in Bash to plot the whole batch except I don't know how to plug the names into Gnuplot, both as input files and as image files. $1.csv and $1.gif would be good. There's probably a way to do this but I'm not sure what it's called, where you've got many similar data files you want all on the same plot with each one displaced vertically by say 10 pixels. Some partly obscure others, that's OK. Does Gnuplot do that? -- ------------- No, I won't call it "climate change", do you have a "reality problem"? - AB1JX Impeach Impeach Impeach Impeach Impeach Impeach Impeach Impeach |
|
From: Alan C. <ala...@gm...> - 2017-07-22 02:51:09
|
I recently saw a really neat demo as part of an rtl_power_fftw package where data comes from somewhere, goes though rtl_power_fftw, gets fed to gnuplot, and updates a plot on the screen a couple times a second. Can't find it right now but it was feeding gnuplot's stdin. On 7/21/17, gnu...@li... <gnu...@li...> wrote: > Send gnuplot-info mailing list submissions to > gnu...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > or, via email, send a message with subject or body 'help' to > gnu...@li... > > You can reach the person managing the list at > gnu...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of gnuplot-info digest..." > > > Today's Topics: > > 1. read from standard input (Patrick Dupre) > 2. Re: read from standard input (Ethan Merritt) > 3. Re: read from standard input (Patrick Dupre) > 4. Re: read from standard input (Patrick Dupre) > 5. Re: read from standard input (Ethan A Merritt) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 21 Jul 2017 16:39:03 +0200 > From: "Patrick Dupre" <pd...@gm...> > To: gnuplot <gnu...@li...> > Subject: [Gnuplot-info] read from standard input > Message-ID: > <trinity-b1fde3ba-7c25-47aa-a819-d43e6a196e5d-1500647943120@3capp-mailcom-bs14> > > Content-Type: text/plain; charset=UTF-8 > > Hello, > > In batch mode, I can make a pause and wait for a return > > I would like to pass a value to gnuplot at that point. > > Is it possible. > > Thank > > =========================================================================== > Patrick DUPR? | | email: pd...@gm... > Laboratoire de Physico-Chimie de l'Atmosph?re | | > Universit? du Littoral-C?te d'Opale | | > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 > 189A, avenue Maurice Schumann | | 59140 Dunkerque, France > =========================================================================== > > > > ------------------------------ > > Message: 2 > Date: Fri, 21 Jul 2017 07:53:50 -0700 > From: Ethan Merritt <eam...@gm...> > To: gnu...@li... > Subject: Re: [Gnuplot-info] read from standard input > Message-ID: <3036840.zfDcCDjOY1@stonelion> > Content-Type: text/plain; charset="us-ascii" > > On Friday, 21 July 2017 16:39:03 Patrick Dupre wrote: >> Hello, >> >> In batch mode, I can make a pause and wait for a return >> >> I would like to pass a value to gnuplot at that point. > > Pass a value from where? > > If there is a plot window then this will wait for a key entered from > the plot window and then pass it to some routine for interpretation. > The routine could continue to accept new characters one by one > to build up a longer string. > > pause mouse key > call some_routine_name MOUSE_CHAR > > > > > > ------------------------------ > > Message: 3 > Date: Fri, 21 Jul 2017 17:04:53 +0200 > From: "Patrick Dupre" <pd...@gm...> > To: "Ethan Merritt" <eam...@gm...> > Cc: gnu...@li... > Subject: Re: [Gnuplot-info] read from standard input > Message-ID: > <trinity-5d280d8d-3ac8-4347-bf3e-f950583beb1a-1500649493305@3capp-mailcom-bs14> > > Content-Type: text/plain; charset=UTF-8 > > > > =========================================================================== > Patrick DUPR? | | email: pd...@gm... > Laboratoire de Physico-Chimie de l'Atmosph?re | | > Universit? du Littoral-C?te d'Opale | | > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 > 189A, avenue Maurice Schumann | | 59140 Dunkerque, France > =========================================================================== > > >> Sent: Friday, July 21, 2017 at 4:53 PM >> From: "Ethan Merritt" <eam...@gm...> >> To: gnu...@li... >> Cc: "Patrick Dupre" <pd...@gm...> >> Subject: Re: [Gnuplot-info] read from standard input >> >> On Friday, 21 July 2017 16:39:03 Patrick Dupre wrote: >> > Hello, >> > >> > In batch mode, I can make a pause and wait for a return >> > >> > I would like to pass a value to gnuplot at that point. >> >> Pass a value from where? >> >> If there is a plot window then this will wait for a key entered from >> the plot window and then pass it to some routine for interpretation. >> The routine could continue to accept new characters one by one >> to build up a longer string. >> >> pause mouse key >> call some_routine_name MOUSE_CHAR > > Following your idea, after a pause -1 (pause mouse key) > Clicking on the 2nd button of the mouse, I can display the values (x, y) > that I clicked. > How can I transfer these values to gnuplot when I make a return in the > terminal where gnuplot is waiting ? > Then I will affect the read value to the rest of my gnuplot script. > > > > ------------------------------ > > Message: 4 > Date: Fri, 21 Jul 2017 17:12:45 +0200 > From: "Patrick Dupre" <pd...@gm...> > To: "Ethan Merritt" <eam...@gm...> > Cc: gnu...@li... > Subject: Re: [Gnuplot-info] read from standard input > Message-ID: > <trinity-5e6cf6b5-80b6-45ec-ae6e-735f572fe3b7-1500649965193@3capp-mailcom-bs14> > > Content-Type: text/plain; charset=UTF-8 > > OK, > > I got it > > MOUSE_X > > =========================================================================== > Patrick DUPR? | | email: pd...@gm... > Laboratoire de Physico-Chimie de l'Atmosph?re | | > Universit? du Littoral-C?te d'Opale | | > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 > 189A, avenue Maurice Schumann | | 59140 Dunkerque, France > =========================================================================== > > >> Sent: Friday, July 21, 2017 at 4:53 PM >> From: "Ethan Merritt" <eam...@gm...> >> To: gnu...@li... >> Cc: "Patrick Dupre" <pd...@gm...> >> Subject: Re: [Gnuplot-info] read from standard input >> >> On Friday, 21 July 2017 16:39:03 Patrick Dupre wrote: >> > Hello, >> > >> > In batch mode, I can make a pause and wait for a return >> > >> > I would like to pass a value to gnuplot at that point. >> >> Pass a value from where? >> >> If there is a plot window then this will wait for a key entered from >> the plot window and then pass it to some routine for interpretation. >> The routine could continue to accept new characters one by one >> to build up a longer string. >> >> pause mouse key >> call some_routine_name MOUSE_CHAR >> >> >> > > > > ------------------------------ > > Message: 5 > Date: Fri, 21 Jul 2017 08:14:28 -0700 > From: Ethan A Merritt <eam...@gm...> > To: Patrick Dupre <pd...@gm...> > Cc: gnu...@li... > Subject: Re: [Gnuplot-info] read from standard input > Message-ID: <1813891.b74LPMiTNB@stonelion> > Content-Type: text/plain; charset="us-ascii" > > On Friday, 21 July 2017 17:04:53 Patrick Dupre wrote: >> > From: "Ethan Merritt" <eam...@gm...> >> > On Friday, 21 July 2017 16:39:03 Patrick Dupre wrote: >> > > Hello, >> > > >> > > In batch mode, I can make a pause and wait for a return >> > > >> > > I would like to pass a value to gnuplot at that point. >> > >> > Pass a value from where? >> > >> > If there is a plot window then this will wait for a key entered from >> > the plot window and then pass it to some routine for interpretation. >> > The routine could continue to accept new characters one by one >> > to build up a longer string. >> > >> > pause mouse key >> > call some_routine_name MOUSE_CHAR >> >> Following your idea, after a pause -1 (pause mouse key) >> Clicking on the 2nd button of the mouse, I can display the values (x, y) >> that I clicked. >> How can I transfer these values to gnuplot when I make a return in the >> terminal where gnuplot is waiting ? >> Then I will affect the read value to the rest of my gnuplot script. > > The x and y coordinates from the most recent mouse click are in > MOUSE_X and MOUSE_Y. > > Ethan > > > > ------------------------------ > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > > ------------------------------ > > End of gnuplot-info Digest, Vol 128, Issue 6 > ******************************************** > -- ------------- No, I won't call it "climate change", do you have a "reality problem"? - AB1JX Impeach Impeach Impeach Impeach Impeach Impeach Impeach Impeach |
|
From: Ethan A M. <eam...@gm...> - 2017-07-21 15:14:37
|
On Friday, 21 July 2017 17:04:53 Patrick Dupre wrote: > > From: "Ethan Merritt" <eam...@gm...> > > On Friday, 21 July 2017 16:39:03 Patrick Dupre wrote: > > > Hello, > > > > > > In batch mode, I can make a pause and wait for a return > > > > > > I would like to pass a value to gnuplot at that point. > > > > Pass a value from where? > > > > If there is a plot window then this will wait for a key entered from > > the plot window and then pass it to some routine for interpretation. > > The routine could continue to accept new characters one by one > > to build up a longer string. > > > > pause mouse key > > call some_routine_name MOUSE_CHAR > > Following your idea, after a pause -1 (pause mouse key) > Clicking on the 2nd button of the mouse, I can display the values (x, y) > that I clicked. > How can I transfer these values to gnuplot when I make a return in the > terminal where gnuplot is waiting ? > Then I will affect the read value to the rest of my gnuplot script. The x and y coordinates from the most recent mouse click are in MOUSE_X and MOUSE_Y. Ethan |