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: Alan C. <ala...@gm...> - 2018-01-21 01:02:41
|
In case anybody finds this and tries to use it, that alias may not work right. This is different and seems to work: alias newbp='cd /usr/tmp/health ; echo `date +"%Y-%m-%d_%H-%M"` >> bp.txt ; joe bp.txt' single quotes at the outermost level double quotes around the format string to date backticks around the whole date command to feed date's output to echo On 1/20/18, Hans-Bernhard Bröker <HBB...@t-...> wrote: > Am 20.01.2018 um 16:20 schrieb Alan Corey: >> OK, I hadn't really tried parsing this format in Gnuplot before I >> don't think, I've done the more common American YY-MM-DD HH:MM:SS. > > To give credit where it's due: that format is really not American in any > meaningful way. That's an abridged version of the international format > ISO 8601 offered by date -I. That International Standard ended up > looking that way in no small part because _somebody_ had to tackle that > unholy mess created by the actual English and American formats: DD/MM/YY > and MM/DD/YY. And no, I won't even try to remember which of those was > which. > >> I >> thought Gnuplot date parsing was a more complete subset of strptime >> and strftime. > > It is. But parsing the week day would not make sense for gnuplot, where > strptime()'s output is not a struct tm, but rather the single > time_t-style number. In short, the weekday is entirely redundant in a > classic date string, so all it could add to the input is a new problem, > if it's given incorrectly. > -- ------------- No, I won't call it "climate change", do you have a "reality problem"? - AB1JX Impeach Impeach Impeach Impeach Impeach Impeach Impeach Impeach |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2018-01-20 16:48:05
|
Am 20.01.2018 um 16:20 schrieb Alan Corey: > OK, I hadn't really tried parsing this format in Gnuplot before I > don't think, I've done the more common American YY-MM-DD HH:MM:SS. To give credit where it's due: that format is really not American in any meaningful way. That's an abridged version of the international format ISO 8601 offered by date -I. That International Standard ended up looking that way in no small part because _somebody_ had to tackle that unholy mess created by the actual English and American formats: DD/MM/YY and MM/DD/YY. And no, I won't even try to remember which of those was which. > I > thought Gnuplot date parsing was a more complete subset of strptime > and strftime. It is. But parsing the week day would not make sense for gnuplot, where strptime()'s output is not a struct tm, but rather the single time_t-style number. In short, the weekday is entirely redundant in a classic date string, so all it could add to the input is a new problem, if it's given incorrectly. |
|
From: Alan C. <ala...@gm...> - 2018-01-20 15:48:38
|
Or at a higher level: alias newbp="cd /usr/tmp/health ; echo `date +"%Y-%m-%d_%H-%M"` >> bp.txt ; joe bp.txt" Now I can track and plot my blood pressure and print it out to hand the doctor. On 1/20/18, Alan Corey <ala...@gm...> wrote: > OK, I hadn't really tried parsing this format in Gnuplot before I > don't think, I've done the more common American YY-MM-DD HH:MM:SS. I > thought Gnuplot date parsing was a more complete subset of strptime > and strftime. A way to ignore 1 character (at a time) would help > since default date output is fixed width, but then there's that month > abbreviation. %s is just so handy. > > Yeah, I've done stuff like > adate=`date +"%Y-%m-%d_%H-%M"` > outname=bp_$adate.txt > for file names > > In the Joe editor I can do ctrl-k r like I was going to read from a > file, then supply !date instead of a file name, but I still get the > Sat Jan 20 09:57:00 EST 2018 format. Oh well, so I wasn't misreading > the documentation. > > Got it. Using bash anyway. Mismash of single, double quotes and > backticks: > pi3# alias gdate='echo `date +"%Y-%m-%d_%H-%M"`' > pi3# gdate > 2018-01-20_10-11 > > > On 1/20/18, Hans-Bernhard Bröker <HBB...@t-...> wrote: >> Am 20.01.2018 um 04:28 schrieb Alan Corey: >>> I'd like to be able to do date >> datafile, then edit the file to add >>> other columns, and have Gnuplot understand the date/time format which >>> looks like: >>> >>> Fri Jan 19 22:08:14 EST 2018 >>> >>> It seems like this must be a common thing to do. >> >> Not really, since the common approach would be that, if you want a >> machine to parse that timestamp, you better not output it in a format >> designed strictly for human consumption. Not even if that's the default >> format. >> >> This is what date options like +'%s', -Iseconds or --rfc3339 are for, >> the latter two possibly combined with -u to get absolute timestamps. >> >> Or better yet, see if your editor can't insert the timestamps itself, >> instead of you having to do this in a two-step process. >> > > > -- > ------------- > No, I won't call it "climate change", do you have a "reality problem"? - > AB1JX > Impeach Impeach Impeach Impeach Impeach Impeach Impeach Impeach > -- ------------- 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...> - 2018-01-20 15:20:54
|
OK, I hadn't really tried parsing this format in Gnuplot before I don't think, I've done the more common American YY-MM-DD HH:MM:SS. I thought Gnuplot date parsing was a more complete subset of strptime and strftime. A way to ignore 1 character (at a time) would help since default date output is fixed width, but then there's that month abbreviation. %s is just so handy. Yeah, I've done stuff like adate=`date +"%Y-%m-%d_%H-%M"` outname=bp_$adate.txt for file names In the Joe editor I can do ctrl-k r like I was going to read from a file, then supply !date instead of a file name, but I still get the Sat Jan 20 09:57:00 EST 2018 format. Oh well, so I wasn't misreading the documentation. Got it. Using bash anyway. Mismash of single, double quotes and backticks: pi3# alias gdate='echo `date +"%Y-%m-%d_%H-%M"`' pi3# gdate 2018-01-20_10-11 On 1/20/18, Hans-Bernhard Bröker <HBB...@t-...> wrote: > Am 20.01.2018 um 04:28 schrieb Alan Corey: >> I'd like to be able to do date >> datafile, then edit the file to add >> other columns, and have Gnuplot understand the date/time format which >> looks like: >> >> Fri Jan 19 22:08:14 EST 2018 >> >> It seems like this must be a common thing to do. > > Not really, since the common approach would be that, if you want a > machine to parse that timestamp, you better not output it in a format > designed strictly for human consumption. Not even if that's the default > format. > > This is what date options like +'%s', -Iseconds or --rfc3339 are for, > the latter two possibly combined with -u to get absolute timestamps. > > Or better yet, see if your editor can't insert the timestamps itself, > instead of you having to do this in a two-step process. > -- ------------- No, I won't call it "climate change", do you have a "reality problem"? - AB1JX Impeach Impeach Impeach Impeach Impeach Impeach Impeach Impeach |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2018-01-20 14:15:59
|
Am 20.01.2018 um 04:28 schrieb Alan Corey: > I'd like to be able to do date >> datafile, then edit the file to add > other columns, and have Gnuplot understand the date/time format which > looks like: > > Fri Jan 19 22:08:14 EST 2018 > > It seems like this must be a common thing to do. Not really, since the common approach would be that, if you want a machine to parse that timestamp, you better not output it in a format designed strictly for human consumption. Not even if that's the default format. This is what date options like +'%s', -Iseconds or --rfc3339 are for, the latter two possibly combined with -u to get absolute timestamps. Or better yet, see if your editor can't insert the timestamps itself, instead of you having to do this in a two-step process. |
|
From: Alan C. <ala...@gm...> - 2018-01-20 03:28:08
|
I'd like to be able to do date >> datafile, then edit the file to add other columns, and have Gnuplot understand the date/time format which looks like: Fri Jan 19 22:08:14 EST 2018 I think it's the same as the ctime() format, haven't seen that lately. It seems like this must be a common thing to do. I need to skip over the day of week abbreviation, then deal with an abbreviation for month name for starters, the rest other than time zone looks straightforward. But somebody's probably done it before. Since the output format of the date command can be controlled by a method similar to gnuplot's timefmt my approach would probably be to set up an alias or script to do that. I don't usually stay in this list between questions. Alan -- ------------- No, I won't call it "climate change", do you have a "reality problem"? - AB1JX Impeach Impeach Impeach Impeach Impeach Impeach Impeach Impeach |
|
From: BBands <bb...@gm...> - 2018-01-15 15:40:50
|
help set datafile commentschars
John
On Mon, Jan 15, 2018 at 5:30 AM, Patrick Dupre <pd...@gm...> wrote:
> Hello,
>
> When I read data with read, I would like to avoid to read the line
> starting with #
> In on words,
> I would like to have this option
> /^[[:blank:]]*#/ {next}
>
> always activated when I read a data file.
>
> Can I have it in a .rc file of something similar?
>
> 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
> ============================================================
> ===============
>
> ------------------------------------------------------------
> ------------------
> 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: Patrick D. <pd...@gm...> - 2018-01-15 13:31:57
|
Hello,
When I read data with read, I would like to avoid to read the line starting with #
In on words,
I would like to have this option
/^[[:blank:]]*#/ {next}
always activated when I read a data file.
Can I have it in a .rc file of something similar?
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
===========================================================================
|
|
From: Patrick D. <pd...@gm...> - 2018-01-11 14:59:03
|
Hello,
I would like to have this option
/^[[:blank:]]*#/ {next}
always activated when I read a data file.
Can I have it in a .rc file of someting similar?
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
===========================================================================
|
|
From: ivana r. <iva...@mf...> - 2017-12-30 07:15:13
|
Hi Sergei, there may be some rubbish that lures gnuplot to find xrange although "plotting" 'with table' try put 'reset' in the begin of the code. Alternatively, you can also plot your data directly, if their amount is ok with the PC performance: # begin gnuplot code # replace datafile with real filename file="datafile" # set empty data separator set datafile separator "" # use string functions to extract columns of a given width plot file u (real(stringcolumn(1)[11:14])):(real(stringcolumn(1)[16:])) w lp t "direct" # end of gnuplot code sincerely Iva |
|
From: Sergei N. <vo...@ra...> - 2017-12-30 05:34:19
|
Thanks a lot, Iva.Tried this but: Terminal type set to 'qt' gnuplot> set datafile separator ";" gnuplot> set table $mydata gnuplot> plot "qq" u (stringcolumn(1)[11:14]):(stringcolumn(1)[16:]) w table ^ x range is invalidgnuplot> Here is the test data one more time: J0023+092311.8D 0.085 J0030+045158.8P 0.861 J0034-0534 6.6D 1.255 -- Sergei 28.12.2017, 20:12, ivana richterova <iva...@mf...>Hi Sergei, although to use external simple filter was intended in such cases, under unix-like OS e.g. "cut": gnuplot> plot '<cut -b 11-14,16- --output-delimiter=" " datafile' you can do this directly by gnuplot as well: # begin gnuplot code # replace datafile with real filename file="datafile" # set the data separator to a char missed in the file set datafile separator ";" # use string functions to extract columns of a given width to a named datablock set table $mydata plot file u (stringcolumn(1)[11:14]):(stringcolumn(1)[16:]) w table unset table # reset the data separator set datafile separator # uncomment to print the preprocessed datablock if you wish # print $mydata # plot the preprocessed datablock plot $mydata w lp t "extracted data" # end of gnuplot code sincerely Iva |
|
From: ivana r. <iva...@mf...> - 2017-12-28 17:12:59
|
Hi Sergei, although to use external simple filter was intended in such cases, under unix-like OS e.g. "cut": gnuplot> plot '<cut -b 11-14,16- --output-delimiter=" " datafile' you can do this directly by gnuplot as well: # begin gnuplot code # replace datafile with real filename file="datafile" # set the data separator to a char missed in the file set datafile separator ";" # use string functions to extract columns of a given width to a named datablock set table $mydata plot file u (stringcolumn(1)[11:14]):(stringcolumn(1)[16:]) w table unset table # reset the data separator set datafile separator # uncomment to print the preprocessed datablock if you wish # print $mydata # plot the preprocessed datablock plot $mydata w lp t "extracted data" # end of gnuplot code sincerely Iva |
|
From: Sergei N. <vo...@ra...> - 2017-12-28 15:56:49
|
Hi! I need to plot from a file written by a FORTRAN code with formatted output like this: J0023+092311.8D 0.085 J0030+045158.8P 0.861 J0034-0534 6.6D10.255 As you can see the formats here are A10,F4.1,A1,F6.3. The plot needs to be created as a second column versus the fourth. Plotting as a straight text file will not work because there are no spaces between the columns. I was reading about plotting a binary file but this feature does not seem to applicable in this case. Can anyone, please, explain whether such data can be plotted by GnuPlot or I would need to write a filer to convert the data into separate columns? Thanks in advance, -- Sergei |
|
From: theozh <th...@gm...> - 2017-12-15 21:17:46
|
Hi Iva,
thanks for your reply. I tried again, and voilà... there is a way, although again not very elegant.
Maybe, somebody else might find it useful...
It's really a pitty that gnuplot is not supporting at least very simple table manipulations,
e.g. reversing data, transposing data arrays, copying columns or rows and/or putting columns side by side to arrange new arrays...
Sure, you can use other scripting languages to manipulate data and generate gnuplot scripts.
Well, it would be nice if you can do it "monolithically" without any wrappers...
The intended result of the script below is:
1 10 111 211
1 20 121 221
1 30 131 231
1 40 141 241
2 10 112 212
2 20 122 222
2 30 132 232
2 40 142 242
3 10 113 213
3 20 123 223
3 30 133 233
3 40 142 242
### Merge and rearrange two datablocks or files
reset
$Data1 <<EOD
0 1 2 3
10 111 112 113
20 121 122 123
30 131 132 133
40 141 142 142
EOD
$Data2 <<EOD
0 1 2 3
10 211 212 213
20 221 222 223
30 231 232 233
40 241 242 242
EOD
stats $Data1 nooutput
print "Rows: ".STATS_records."\n"."Columns: ".STATS_columns
set print $Data3
set table $Nowhere # plot data to "nowhere" to avoid unnecessary plot windows
do for [i=2:STATS_columns] {
do for [j=1:STATS_records-1] {
plot $Data1 u (a=column(i),1/0) every ::0::0 with table
plot $Data1 u (b=column(1),1/0):(c=column(i),1/0) every ::j::j with table
plot $Data2 u (d=column(i),1/0) every ::j::j with table
print sprintf("%g\t%g\t%g\t%g",a,b,c,d)
}
print "" # separat blocks by empty line
}
set print
print $Data3
### end gnuplot code
|
|
From: ivana r. <iva...@mf...> - 2017-12-14 20:44:44
|
Hi Theo, probably, you can win building something like you did for "the last data points of each block" (instead of pipe reversed data to gnuplot), but the general answer is that gnuplot is not aimed as a data editor. There are general powerful scripting languages (python, perl, gawk, ...) or smart math-stat languages that can use gnuplot as a graphical frontend (Octave, R, maxima, ...). Do not hesitate to explore them. Good luck. Iva |
|
From: theozh <th...@gm...> - 2017-12-14 19:07:37
|
Is there maybe a way in gnuplot to rearrange data of two files into one file according to the scheme below? The number of columns and rows are variable and unknown but they are the same in File1 and File2. The number of rows and columns can be found via 'stats File1': Rows: STATS_records Cols: STATS_columns I tried with plot ... with table or print table ... But didn't yet find a solution with gnuplot. Any ideas? # File1: xxx c01 c02 c03 r01 d11 d12 d13 r02 d21 d22 d23 r03 d31 d32 d33 # File2: xxx c01 c02 c03 r01 e11 e12 e13 r02 e21 e22 e23 r03 e31 e32 e33 # File3: c01 r01 d11 e11 c01 r02 d21 e21 c01 r03 d31 e31 c02 r01 d12 e12 c02 r02 d22 e22 c02 r03 d32 e32 c03 r01 d13 e13 c03 r02 d23 e23 c03 r03 d33 e33 |
|
From: Pedro C. <ped...@gm...> - 2017-12-14 17:05:13
|
Dear Gnuplot Users I have some strange behavior (or maybe not) using a label on a pm3d map projection. Example: set term post enhanced color set output "spectrum3d.ps" unset border f(x)=x-1 set palette color set pm3d map set xrange [1:13] unset ztics unset ytics unset xtics set samples 201 set isosamples 2 set size 0.8,0.2 unset key unset colorbox set label 2 "M" font "Helvetica-Bold,12" at 2.15,graph 0.5,graph 1 center front tc rgb "black" set palette model RGB defined (1 "green", 1.25 "dark-green", 1.25 "yellow", 1.33 "dark-yellow", 1.33 "red", 4 "dark-red" ) set origin 0.0,0.5 splot f(x) If I run gnuplot (version 5.1 and 5.2) on the right side of the plot appear an extra line (see pdf "plot_withlabel.pdf" created from the postscript file). If I comment set label 2 "M" font "Helvetica-Bold,12" at 2.15,graph 0.5,graph 1 center front tc rgb "black" no such feature appears (file "plot_withnolable.pdf". Is it something associated to the boxed label option or some bug? Pedro |
|
From: ivana r. <iva...@mf...> - 2017-12-14 16:39:57
|
Hi Patric,
are you sure that you wanna get the fit parameter with higher
precision that the error order?
Anyhow, the precision of gnuplot float variables is (under official
linux distribution) about 10e-15. You can print the variable via
sprintf/gprintf:
gnuplot> pr sprintf("%.20g",1+1e-15)
gnuplot> pr sprintf("%.20g",1+1e-16)
(Contrary to, e.g. gawk's OFMT, you can set global floating precision
for axis only.)
Sincerely
Iva
On 14/12/2017, Patrick Dupre <pd...@gm...> wrote:
> Hello,
>
> How can I increase the number of digits of the values provided
> by a fit?
> For example, I get
> x0 = 61281.3 +/- 5.43 (0.008861%)
>
> I would like to have 1 more digit on x0
>
> 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
> ===========================================================================
>
> ------------------------------------------------------------------------------
> 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: Patrick D. <pd...@gm...> - 2017-12-14 14:57:03
|
Hello, How can I increase the number of digits of the values provided by a fit? For example, I get x0 = 61281.3 +/- 5.43 (0.008861%) I would like to have 1 more digit on x0 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 =========================================================================== |
|
From: Daniel H. <vi5...@ya...> - 2017-12-10 17:09:54
|
Am 28.11.2017 um 00:34 schrieb Dan via gnuplot-info:
>> - in the variable L_err, the value (presumably calculated in a
>> finite-difference way) of
>> \sqrt{\frac{2}{\left(\partial\!^{2}\!\left(\chi^2\right)/\partial
>> L\!^{2}\right)_{L = l,M =
>> m}-\left(\left(\partial\!^{2}\!\left(\chi^2\right)/\left(\partial\!\!L\!\partial\!\!M\right)\right)_{L
>> = l,M = m}\right)^2/\left(\partial\!^{2}\!\left(\chi^2\right)/\partial
>> M\!^{2}\right)_{L = l,M = m}}}
On Saturday, 2 December 2017, 17:35, Hans-Bernhard Bröker <HBB...@t-...> wrote:
> The algorithm never actually computes it just like that. What actually
> happens is that the code builds a matrix of all the second partial
> derivatives of \chi^2 with respect to the given parameters. This
> matrix is inverted, to yield the covariance matrix. The roots of the
> diagonal elements of that matrix form the error values. These get
> divided out of each column and row, to form the correlation matrix that
> is printed out.
> For the special case of just two parameters the formulae you found may
> well be correct... I didn't compute it through to check one way or the
> other.
No worries: you'd given me enough information that I could turn the handle on the formula for the inverse of a 2\times 2 matrix myself. I can confirm that the formula, which I originally conjectured was used to provide the value that Gnuplot puts in the variable L_err, is indeed the square root of twice the "LL" diagonal element of the inverse of the Hessian of \chi^2, evaluated at the L and M values that minimize \chi^2. That matches your description of what's going on except for the "twice". (And similarly for M_err).
Similarly, the formula, which I originally conjectured was used to provide the value that Gnuplot puts in the variable FIT_COV_M_L, is minus twice (either one of) the off-diagonal element(s) of the inverse of the Hessian of \chi^2, evaluated at the L and M values that minimize \chi^2. That matches your description of what's going on except for the "minus twice", and the fact that my formula hadn't had the diagonal elements 'divided out of each column and row' (but the latter may just be because I'd done "set fit noerrorscaling"). Incidentally, something I'd already observed is that the value that gets stored in FIT_COV_M_L is not the same as the off-diagonal element of the "covariance matrix" that gets printed to the screen at the end of the fit process.
> There's really nothing special about that method. It's basically the
> definition of what all fitting tools do for asymptotic error estimation.
> They're "asymptotic" because they're derived from the second
> derivatives, i.e. just lowest-order term describing the shape of the
> \chi^2 function "landscape" near the discovered minimum
On the contrary, there's something _very_ special about it - namely that, if one gets the detailed handle-turning right, the integral over all (parameter) space that formally defines the standard error belongs to a class of problems whereby there is a rigorous upper bound on the magnitude of the error of (one particular variant of) the method based on the second derivatives evaluated at the discovered minimum, when used as an approximation to that integral (see Olver, 1997, _Asymptotics and special functions_, CRC Press, Boca Raton, section 3.7). The reason I keep prodding away about published sources is that I'd like to confirm that I _have_ got the detailed handle-turning right by finding someone else who's done it (and preferably got it through peer review).
|
|
From: Patrick D. <pd...@gm...> - 2017-12-07 23:15:30
|
OK Actually plot $DATA using (x=$1): (my_function(x)) is OK =========================================================================== 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: Thursday, December 07, 2017 at 11:51 PM > From: "Hans-Bernhard Bröker" <HBB...@t-...> > To: "Patrick Dupre" <pd...@gm...>, gnuplot <gnu...@li...> > Subject: Re: [Gnuplot-info] plot with x from file > > Am 07.12.2017 um 23:37 schrieb Patrick Dupre: > > Hello, > > > > I would like to plot, something like: > > plot $DATA using (x=$1): my_function(x) > > > > but it does not work. > > You're trying way too hard. What you appear to be looking for is > > plot $DATA using 1:(my_function($1)) > > |
|
From: Patrick D. <pd...@gm...> - 2017-12-07 23:10:33
|
> > Hello, > > > > I would like to plot, something like: > > plot $DATA using (x=$1): my_function(x) > > > > but it does not work. > > You're trying way too hard. What you appear to be looking for is > > plot $DATA using 1:(my_function($1)) > Thank Humm, my problem is that my_function(x) is a multiple function of x. Can I define x=$1 ? |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2017-12-07 22:51:36
|
Am 07.12.2017 um 23:37 schrieb Patrick Dupre: > Hello, > > I would like to plot, something like: > plot $DATA using (x=$1): my_function(x) > > but it does not work. You're trying way too hard. What you appear to be looking for is plot $DATA using 1:(my_function($1)) |
|
From: Patrick D. <pd...@gm...> - 2017-12-07 22:37:17
|
Hello, I would like to plot, something like: plot $DATA using (x=$1): my_function(x) but it does not work. I can do: plot $DATA using (x=$1):2, (my_function(x)) but it plot my_function(x) and $2 while I do not want $2 Some ideas? 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 =========================================================================== |
|
From: Ethan M. <eam...@gm...> - 2017-12-07 10:41:51
|
See "set dashtype". You can definitely a new dash pattern in terms of numerical length and then choose it for a particular line. set dashtype 5 (10, 2, 10, 2) set dashtype 6 (20,4,20,4) plot foo dt 5, baz dt 6 On Dec 7, 2017 09:08, "Nunzio Losacco" <nun...@gm...> wrote: > Hi, > > thanks for your reply and sorry I wasn't clear enough. I wish to know if > there is any way to scale dash lengths other than dl as a terminal option. > I would like to use, say, the same dash type but different dash length for > some functions (or arrows or whatever) in the same plot. > Is that more clear? > > Best, > > N > > Il 6 dic 2017 21:49, "theozh" <th...@gm...> ha scritto: > > I'm not sure whether I understand your question correctly. > A single line with different dash lengths along this line? > > Probably, you're not looking for something like: > plot x*x dashtype ". - _ " > > So, what should the dash length depend on? > The x- or y-value or some tabulated values? > > > ------------------------------------------------------------ > ------------------ > 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 > ------------------------------------------------------------ > ------------------ > 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 > |