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: Dave H. <da...@ho...> - 2014-11-29 05:49:50
|
On Sat, 29 Nov 2014, Roshni Rajkumari wrote: > Hop msg > 1 8.00 > 2 30.00 > 3 94.00 > 4 280.00 > 5 822.00 > 6 2400.00 > 7 7000.00 > 8 20398.00 > 9 59454.00 > 10 173226.00 > > how do i plot this....i mean wat do i put the range for 'msg' If I had to do that, I'd use a log scale: set logscale y set yrange [0.1:1000] # Shows "User" (and zero spam!) better That's what I use for my graph on www.horsfall.org/spamlog.pdf for logging my mail/spam stats. In your case, I guess it would be [1:1000000] or something. -- Dave Horsfall DTM (VK2KFU) "Bliss is a MacBook with a FreeBSD server." http://www.horsfall.org/spam.html (and check the home page whilst you're there) |
|
From: Roshni R. <raj...@gm...> - 2014-11-29 05:03:54
|
Hop msg 1 8.00 2 30.00 3 94.00 4 280.00 5 822.00 6 2400.00 7 7000.00 8 20398.00 9 59454.00 10 173226.00 how do i plot this....i mean wat do i put the range for 'msg' Thank You |
|
From: Jefferson S. E. P. <st...@gm...> - 2014-11-27 17:23:46
|
(x < A ? B : C) means: if x<A is true then return B, otherwise, return C. You only have to understand how -1 and 2 are plotted "with image". Cheers, Stafusa On Thu, Nov 27, 2014 at 2:35 PM, George Patargias <gp...@bi...> wrote: > Hello Ethan, > > Thanks for this; it seems to work! > > So, the expression > ($3 < val ? -1 : 2) > > means "if the number in column $3 is less than val then assign it to black > and if not assign to white"? I am not sure I understand the part after the > question mark (ternary operator) > > Thanks again. > > George > > > > Out-of-range z values are assigned the limiting colors in the palette, > so I would try > > set cbrange [0:1] > > plot "rmsdist4gnu_scale_1_30000.dat" using 1:2:($3 < val ? -1 : 2) with > > image > > (but I haven't actually tested that, so maybe I'm missing something) On > Thu, Nov 20, 2014 at 6:47 AM, George Patargias <gp...@bi...> wrote: > >> Hello, > >> I want to plot a 3-column data file using a black-white color scale. I > was wondering what is the syntax that allows those values of the 3rd > column to be colored black if they are smaller than a cut-off value and > white if they are larger than the same cut-off value > >> The three relevant lines from my script are > >> set cbrange [0.0:1.0] > >> set palette defined (0.0 "black", 1.0 "white") > >> plot "rmsdist4gnu_scale_1_30000.dat" using 1:2:3 with image > >> I know that is the last line that needs a different syntax but I am not > sure what. > >> Many thanks in advance. > >> Dr. George Patargias > >> Postdoctoral Research Fellow > >> Biomedical Research Foundation > >> Academy of Athens > >> 4, Soranou Ephessiou > >> 115 27 > >> Athens > >> Greece > >> Office: +302106597568 > >> > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from > Actuate! Instantly Supercharge Your Business Reports and > Dashboards > >> with Interactivity, Sharing, Native Excel Exports, App Integration & > more > >> Get technology previously reserved for billion-dollar corporations, > FREE > >> > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > >> gnuplot-info mailing list > >> gnu...@li... > >> Membership management via: > >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > > Dr. George Patargias > Postdoctoral Research Fellow > Biomedical Research Foundation > Academy of Athens > 4, Soranou Ephessiou > 115 27 > Athens > Greece > > Office: +302106597568 > > > > > > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: George P. <gp...@bi...> - 2014-11-27 16:35:55
|
Hello Ethan,
Thanks for this; it seems to work!
So, the expression
($3 < val ? -1 : 2)
means "if the number in column $3 is less than val then assign it to black
and if not assign to white"? I am not sure I understand the part after the
question mark (ternary operator)
Thanks again.
George
> Out-of-range z values are assigned the limiting colors in the palette,
so I would try
> set cbrange [0:1]
> plot "rmsdist4gnu_scale_1_30000.dat" using 1:2:($3 < val ? -1 : 2) with
> image
> (but I haven't actually tested that, so maybe I'm missing something) On
Thu, Nov 20, 2014 at 6:47 AM, George Patargias <gp...@bi...> wrote:
>> Hello,
>> I want to plot a 3-column data file using a black-white color scale. I
was wondering what is the syntax that allows those values of the 3rd
column to be colored black if they are smaller than a cut-off value and
white if they are larger than the same cut-off value
>> The three relevant lines from my script are
>> set cbrange [0.0:1.0]
>> set palette defined (0.0 "black", 1.0 "white")
>> plot "rmsdist4gnu_scale_1_30000.dat" using 1:2:3 with image
>> I know that is the last line that needs a different syntax but I am not
sure what.
>> Many thanks in advance.
>> Dr. George Patargias
>> Postdoctoral Research Fellow
>> Biomedical Research Foundation
>> Academy of Athens
>> 4, Soranou Ephessiou
>> 115 27
>> Athens
>> Greece
>> Office: +302106597568
>> ------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from
Actuate! Instantly Supercharge Your Business Reports and
Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration &
more
>> Get technology previously reserved for billion-dollar corporations,
FREE
>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
>> gnuplot-info mailing list
>> gnu...@li...
>> Membership management via:
>> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
Dr. George Patargias
Postdoctoral Research Fellow
Biomedical Research Foundation
Academy of Athens
4, Soranou Ephessiou
115 27
Athens
Greece
Office: +302106597568
|
|
From: Ethan M. <eam...@gm...> - 2014-11-20 18:38:22
|
Out-of-range z values are assigned the limiting colors in the palette, so I would try set cbrange [0:1] plot "rmsdist4gnu_scale_1_30000.dat" using 1:2:($3 < val ? -1 : 2) with image (but I haven't actually tested that, so maybe I'm missing something) On Thu, Nov 20, 2014 at 6:47 AM, George Patargias <gp...@bi...> wrote: > Hello, > > I want to plot a 3-column data file using a black-white color scale. > > I was wondering what is the syntax that allows those values of the 3rd > column to be colored black if they are smaller than a cut-off value and > white if they are larger than the same cut-off value > > The three relevant lines from my script are > > set cbrange [0.0:1.0] > set palette defined (0.0 "black", 1.0 "white") > plot "rmsdist4gnu_scale_1_30000.dat" using 1:2:3 with image > > I know that is the last line that needs a different syntax but I am not > sure what. > > Many thanks in advance. > > > Dr. George Patargias > Postdoctoral Research Fellow > Biomedical Research Foundation > Academy of Athens > 4, Soranou Ephessiou > 115 27 > Athens > Greece > > Office: +302106597568 > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: George P. <gp...@bi...> - 2014-11-20 15:06:31
|
Hello, I want to plot a 3-column data file using a black-white color scale. I was wondering what is the syntax that allows those values of the 3rd column to be colored black if they are smaller than a cut-off value and white if they are larger than the same cut-off value The three relevant lines from my script are set cbrange [0.0:1.0] set palette defined (0.0 "black", 1.0 "white") plot "rmsdist4gnu_scale_1_30000.dat" using 1:2:3 with image I know that is the last line that needs a different syntax but I am not sure what. Many thanks in advance. Dr. George Patargias Postdoctoral Research Fellow Biomedical Research Foundation Academy of Athens 4, Soranou Ephessiou 115 27 Athens Greece Office: +302106597568 |
|
From: Dave H. <da...@ho...> - 2014-11-17 18:51:58
|
Odd; I never saw the OP's reply, so I'll reply this way instead.
On Thu, 13 Nov 2014, Elias Assmann wrote:
> > Am 12.11.2014 um 22:00 schrieb Dave Horsfall:
> >> With the exception of Gnuplot, every parser I've seen strips out comments
> >> first, then glues lines together.
> >
> > Then, with all due respect, you may not have seen enough parsers yet.
> > C and all languages derived from it do it like gnuplot (even for //
> > comments). Make does it like gnuplot.
And with all due respect in turn, I don't think you know anything of my
programming background. In the past 40 years or so, I've used something
like over 40 languages, and that's counting all versions of FORTRAN as
one, all assemblers as one, all LISPs as one, all BASICs as one, all
ALGOLs as one, etc.
Oh, and I have written parsers, compilers, etc.
> >> Most un-intuitive... Any chance that this can be fixed in 4.7,
> >
> > There's not going to be a 4.7.
I thought I saw a reference to it on this very list, but from later mail I
guess it could've been 5.0 instead.
Here's a couple of practical examples of why I think Gnuplot is doing it
wrong (in the sense of not making it easy for the programmer, which last I
looked is the computer's job).
My script that plots my daily health readings:
# Dropped Weight, Girth, BMI and BMR etc until they change.
# datafile using 1:(@WEIGHT) lt 8 title 'Weight (kg)', \
# datafile using 1:(@GIRTH):(@GIRTH-2):(@GIRTH+2) \
# with errorbars lt 7 title 'Girth (± 2cm)', \
# datafile using 1:(bmi(@WEIGHT)) \
# with lines lt 13 title 'BMI (kg/m^2)', \
# datafile using 1:(bmr3(@WEIGHT))/100.0 \
# with lines lt 3 title 'BMR/100 (Cal/day)', \
# datafile using 1:(@SYS-@DIA)*10/@HR \
# with lines lt 9 title '(Sys-Dia)/HR', \
# datafile using 1:(avg(@SYS, @DIA)*10)/@HR \
# with lines lt 5 title 'µ(Sys,Dia)/HR', \
# Broken parsing needs a dummy line here.
#
plot \
datafile using 1:(@SYS) lt 1 pt 1 title 'Sys (Hg)', \
datafile using 1:(@DIA) lt 1 pt 2 title 'Dia (Hg)', \
datafile using 1:(@HR) lt 2 title 'HR (bpm)', \
datafile using 1:(@SYS-@DIA)*@HR/100.0 \
with lines lt 7 title '(Sys-Dia)*HR/100', \
datafile using 1:(avg(@SYS, @DIA)*@HR/1000.0) \
with lines lt -1 title 'µ(Sys,Dia)*HR/1000', \
1/0 lt -1 notitle # Dummy so I can move above around
My script that plots my daily spam load:
#
# Too small to be worth plotting.
# datafile using 1:($5) title 'Proxy', \
# datafile using 1:($6) title 'Pause', \
# Need a line after a commented continuation line.
#
# Note that "User unknown/missing" doesn't trend, hence no lines.
#
# I also dropped HSR; my inbound mail is around 100/day, so the HSR
# correlates with Spam anyway.
# datafile using 1:(hsr($8, $7)) lt 3 title 'HSR', \
#
# And Banner went out in sympathy.
# datafile using 1:($3) lt 9 title 'Banner', \
#
# XXX Should call 0.1 "epsilon" or something.
plot \
datafile using 1:($8-$7) lt rgb "green" title 'Rcvd', \
datafile using 1:($2) lt rgb "red" title 'Reject', \
datafile using 1:(max($7, 0.1)) lt rgb "dark-pink" title 'Spam', \
datafile using 1:(max($4, 0.1)) lt rgb "yellow" with impulses title 'User', \
datafile using 1:($9) lt rgb "cyan" title 'Sent'
The terminally-curious can see the results over at
www.horsfall.org/gnuplot.html (updated whenever).
Given that the purpose of a computer is to make humans' lives easier, I
would really like the ability to comment out a line /in situ/, and put it
right back again.
--
Dave Horsfall DTM (VK2KFU) "Bliss is a MacBook with a FreeBSD server."
http://www.horsfall.org/spam.html (and check the home page whilst you're there) |
|
From: Elias A. <eli...@gm...> - 2014-11-17 10:29:32
|
On 11/13/2014 08:58 PM, Ethan Merritt wrote: > You can find packaged release candidates for version 5 on SourceForge. > -rc3 is very recent and will probably be the final version, with formal > release of gnuplot 5.0 at about year's end. That's great to hear. Gnuplot 4.6 brought a lot of nice new features, I am sure (without having looked at those release notes) that gnuplot 5.0 will be even better. Elias |
|
From: Elias A. <eli...@gm...> - 2014-11-17 10:26:09
|
On 11/17/2014 10:10 AM, Mathias Müller wrote: > Hi there, > > I am curently tailoring some graphics which present data with boxes. However, I need the graphics to have a high resolution in png format. > My choice : pngcairo size 6000,3000 Just an idea: How about creating vector graphics and converting to PNG at the desired resolution? > > When plotting the data with boxes and fill pattern <n> the pattern is hardly to recognize, since it is too tiny. It almost vanishes. > Is there an option to increase the pattern resolution? It would be shame if patterns are only available to plot sizes of 600x480 pixels. > > I already roamed the internet without any result. > > > > Many thanks for helping me, > > /M > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: Mathias M. <mu...@ph...> - 2014-11-17 09:25:22
|
Hi there, I am curently tailoring some graphics which present data with boxes. However, I need the graphics to have a high resolution in png format. My choice : pngcairo size 6000,3000 When plotting the data with boxes and fill pattern <n> the pattern is hardly to recognize, since it is too tiny. It almost vanishes. Is there an option to increase the pattern resolution? It would be shame if patterns are only available to plot sizes of 600x480 pixels. I already roamed the internet without any result. Many thanks for helping me, /M |
|
From: Ethan M. <eam...@gm...> - 2014-11-13 19:58:45
|
On Thu, Nov 13, 2014 at 4:17 AM, Elias Assmann <eli...@gm...> wrote:
>>
>> There's not going to be a 4.7.
>
> So what is the future of gnuplot (or its version numbers) then? Will
> 4.6 be the final release? Or will there be a 5.0?
You can find packaged release candidates for version 5 on SourceForge.
-rc3 is very recent and will probably be the final version, with formal
release of gnuplot 5.0 at about year's end.
Release notes here:
http://gnuplot.sourceforge.net/ReleaseNotes_5_0_rc3.html
|
|
From: Elias A. <eli...@gm...> - 2014-11-13 12:17:52
|
Hi,
I would like to support the OP's proposal. I have also run into this
issue and found it annoying.
On 11/13/2014 12:09 AM, Hans-Bernhard Bröker wrote:
> Am 12.11.2014 um 22:00 schrieb Dave Horsfall:
>> With the exception of Gnuplot, every parser I've seen strips out comments
>> first, then glues lines together.
>
> Then, with all due respect, you may not have seen enough parsers yet. C
> and all languages derived from it do it like gnuplot (even for //
> comments). Make does it like gnuplot.
I think you are correct in terms of how the parsers work, but the
effect for the user is quite different in the two languages. This is
because newlines are just whitespace in C, but statement terminators
in gnuplot.
Let me construct two arbitrary examples. For C let's use
printf("%s\n%s\n",
"foo",
"bar");
and for gnuplot
plot [0:2*pi] [-2:2] \
cos(x), \
tan(x)
Now in C there is no problem in commenting out one of the arguments
using “//”:
printf("%s\n%s\n",
// "foo",
"qux",
"bar");
does what you want. But in gnuplot
plot [0:2*pi] [-2:2] \
sin(x), \
# cos(x), \
tan(x)
does not do what I want, and
plot [0:2*pi] [-2:2] \
# cos(x), \
sin(x), \
tan(x)
is an error.
It is true that in C
printf("%s\n%s\n",
//"foo", \
"qux", \
"bar");
has the same problem, but why would you write it like that in the
first place? Conversely, how do you write the gnuplot example so that
it is easy to comment out one of the functions?
I am not saying that it is easy to implement a more user-friendly
behavior (I would not know, having never written a real-life parser).
But it would be a good thing, and the situation is certainly not the
same as in C.
To be fair, bash and python (to pick two more languages where newline
terminates a statement) do have problems similar to gnuplot's. But I
do not remember that I have ever actually run into the problem with
these two. In gnuplot, I often have plot commands with several lines
and would like to be able to comment one of them out quickly.
>> Most un-intuitive... Any chance that this can be fixed in 4.7,
>
> There's not going to be a 4.7.
So what is the future of gnuplot (or its version numbers) then? Will
4.6 be the final release? Or will there be a 5.0? Or will it,
somewhat like TeX, asymptotically converge to 4.7? Interesting
questions certainly, but I am not sure they are relevant to the OP's
point.
Elias
|
|
From: Hans-Bernhard B. <HBB...@t-...> - 2014-11-12 23:09:47
|
Am 12.11.2014 um 22:00 schrieb Dave Horsfall: > With the exception of Gnuplot, every parser I've seen strips out comments > first, then glues lines together. Then, with all due respect, you may not have seen enough parsers yet. C and all languages derived from it do it like gnuplot (even for // comments). Make does it like gnuplot. > Most un-intuitive... Any chance that this can be fixed in 4.7, There's not going to be a 4.7. |
|
From: Dave H. <da...@ho...> - 2014-11-12 21:00:39
|
With the exception of Gnuplot, every parser I've seen strips out comments
first, then glues lines together. Shell, pfctl, you name it; it makes it
easy to temporarily comment out a line without having to worry about the
following line.
Except for Gnuplot; it does it backwards (IMHO). For example, when
playing with some line styles etc, I want to keep the original line "as
is", but merely commented out. Instead, I have to remove it bodily, and
make sure that there is a dummy line after it like so:
#
# Too small to be worth plotting.
# datafile using 1:($5) title 'Proxy', \
# datafile using 1:($6) title 'Pause', \
# Need a line after a commented continuation line.
#
plot blah blah with above lines removed
Most un-intuitive... Any chance that this can be fixed in 4.7, or at
least made an option for traditional users?
--
Dave Horsfall DTM (VK2KFU) "Bliss is a MacBook with a FreeBSD server."
http://www.horsfall.org/spam.html (and check the home page whilst you're there)
|
|
From: Dave H. <da...@ho...> - 2014-11-11 18:20:42
|
On Mon, 10 Nov 2014, Dave Horsfall wrote:
> So, is there an elegant way to redefine "0" as "0.1", or do I have to
> pollute the "plot" command?
I found a method that satisfies my requirement for elegance, so for the
benefit of the archives:
#
# Gnuplot doesn't have max()?
#
max(x, y) = (x > y) ? x : y
[...]
plot datafile using 1:(max($7, 0.1)) lt rgb "dark-pink" title 'Spam'
I should make "0.1" a variable such as "epsilon" or something.
--
Dave Horsfall DTM (VK2KFU) "Bliss is a MacBook with a FreeBSD server."
http://www.horsfall.org/spam.html (and check the home page whilst you're there)
|
|
From: sfeam <eam...@gm...> - 2014-11-09 18:39:44
|
On Monday, 10 November 2014 05:15:38 AM Dave Horsfall wrote: > I know, it's mathematically impossible (it tends to disappear towards -ve > infinity), but bear with me. > > Behold the graph over on www.horsfall.org/spamlog.pdf (about 100k); it's a > daily plot of my email logs, and amongst other things it includes the spam > that was actually delivered (shown in pink, of course, as opposed to the > spam that was rejected in red). I had to use a logarithmic scale because > of the magnitudes involved, which means around 3rd November was a > spam-free day (yes, I was surprised as well!). > > It looks ugly, so I would like to re-map "0" into "0.1", but I cannot > think of an elegant way of doing this. An explicit axis label overrides an auto-generated one, so this should do the trick: set ytics add ("0.0" 0.1) plot ... Ethan > > 1) Conditional expressions in the "plot" command; yuck. > > 2) Something like "if ($7 == 0) $7 = 0.1" before the plot; didn't work. > > 3) Playing with "set zero"; I must've misunderstood how it's used. > > 4) A pre-filter on the data; that amounts to tampering with it. > > So, is there an elegant way to redefine "0" as "0.1", or do I have to > pollute the "plot" command? > > Thanks. > > |
|
From: Dave H. <da...@ho...> - 2014-11-09 18:15:55
|
I know, it's mathematically impossible (it tends to disappear towards -ve infinity), but bear with me. Behold the graph over on www.horsfall.org/spamlog.pdf (about 100k); it's a daily plot of my email logs, and amongst other things it includes the spam that was actually delivered (shown in pink, of course, as opposed to the spam that was rejected in red). I had to use a logarithmic scale because of the magnitudes involved, which means around 3rd November was a spam-free day (yes, I was surprised as well!). It looks ugly, so I would like to re-map "0" into "0.1", but I cannot think of an elegant way of doing this. 1) Conditional expressions in the "plot" command; yuck. 2) Something like "if ($7 == 0) $7 = 0.1" before the plot; didn't work. 3) Playing with "set zero"; I must've misunderstood how it's used. 4) A pre-filter on the data; that amounts to tampering with it. So, is there an elegant way to redefine "0" as "0.1", or do I have to pollute the "plot" command? Thanks. -- Dave Horsfall DTM (VK2KFU) "Bliss is a MacBook with a FreeBSD server." http://www.horsfall.org/spam.html (and check the home page whilst you're there) |
|
From: Dave H. <da...@ho...> - 2014-11-03 05:40:43
|
On Wed, 22 Oct 2014, Dave Horsfall wrote:
> Being a human and not a computer, I like to use names instead of
> numbers, so is there a way to attach a name to a line style? I can't
> seem to see one.
I found it when looking for something else (the definition of
"serendipity", I think). For the archives, it's e.g.:
set macros
style1 = "lines lt 4 lw 2"
style2 = "points lt 3 pt 5 ps 2"
range1 = "using 1:3"
range2 = "using 1:5"
plot "foo" @range1 with @style1, "bar" @range2 with @style2
(right out of "help macros", as it happens).
--
Dave Horsfall (VK2KFU) "Bliss is a MacBook with a FreeBSD server."
http://www.horsfall.org/spam.html (and check the home page whilst you're there)
|
|
From: Amir S. <ami...@gm...> - 2014-10-31 20:46:46
|
I see it as a probability problem: If you suppose a normal distribution, you calculate the mean, then the standard deviation sigma. If a value is over 2 sigma you have 95% confidence that the value is wrong. Then you can build a rule that excludes that value with N/A Hope this help, Amir Il 31/ott/2014 20:31 "Dave Horsfall" <da...@ho...> ha scritto: > Consider the following made-up sequence: > > 1 2 2 1 3 3 1 10 2 4 1 > > I have a simple script which mashes out some stats, and amongst other > things it reports the standard deviation as 2.49 (because of that outlier > of 10). > > If I ignore it, I get a standard deviation of 1, which is a lot closer to > reality. > > Is there some way to get Gnuplot to ignore outliers and substitute > "missing", or do I have to write some sort of a filter for it? I can > understand that the definition of "outlier" is a loose concept, but I'm > thinking of defining an expected range for that particular column. > > The background here is that I've started analysing my daily spam load; > there's a very-much-prototype graph over on www.horsfall.org/plotspam.pdf > (80k), and I would very much like to auto-ignore the spike for "Banner" > (the green one; it's those morons at Security Focus not being able to > handle my SMTP banner and retrying immediately) and the spike for "Reject" > (the red one; it's the idiots who treat it as a challenge). > > As an aside, I found I had to use a log scale because of the magnitudes > involved (many attempts but few successes), but it actually turned out > quite well. > > -- > Dave Horsfall (VK2KFU) "Bliss is a MacBook with a FreeBSD server." > http://www.horsfall.org/spam.html (and check the home page whilst you're > there) > > > ------------------------------------------------------------------------------ > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: Dave H. <da...@ho...> - 2014-10-31 19:30:40
|
Consider the following made-up sequence: 1 2 2 1 3 3 1 10 2 4 1 I have a simple script which mashes out some stats, and amongst other things it reports the standard deviation as 2.49 (because of that outlier of 10). If I ignore it, I get a standard deviation of 1, which is a lot closer to reality. Is there some way to get Gnuplot to ignore outliers and substitute "missing", or do I have to write some sort of a filter for it? I can understand that the definition of "outlier" is a loose concept, but I'm thinking of defining an expected range for that particular column. The background here is that I've started analysing my daily spam load; there's a very-much-prototype graph over on www.horsfall.org/plotspam.pdf (80k), and I would very much like to auto-ignore the spike for "Banner" (the green one; it's those morons at Security Focus not being able to handle my SMTP banner and retrying immediately) and the spike for "Reject" (the red one; it's the idiots who treat it as a challenge). As an aside, I found I had to use a log scale because of the magnitudes involved (many attempts but few successes), but it actually turned out quite well. -- Dave Horsfall (VK2KFU) "Bliss is a MacBook with a FreeBSD server." http://www.horsfall.org/spam.html (and check the home page whilst you're there) |
|
From: Philipp K. J. <ja...@ie...> - 2014-10-29 15:51:24
|
[snip] > > > > But what if the file contains string columns - > > do they get interpreted differently, based on > > set encoding? > > Yes and no. > The individual "words" will get read in and stored no matter > what the encoding. But the program needs to know the encoding > in order to operate on them properly. For example: > > set encoding iso_8859_1 # This is wrong > test = "αβγδεζηθ" > print test # This works because the whole > thing is spit out print test[2:2] # This fails because > the encoding is wrong print test[3:4] # As does this > > set encoding utf8 # this fixes it > print test[2:2] > print test [3:4] > > > > And can I generally rely on > > gnuplot to handle multi-byte characters safely > > (that is, recognize them as multibyte and store > > them accordingly)? > > UTF8 - yes > shift-JIS - I think so but I don't use it myself > other - untested > Many thanks, very helpful! |
|
From: sfeam <sf...@us...> - 2014-10-29 15:36:54
|
On Tuesday, 28 October 2014 10:45:48 PM Philipp K. Janert wrote: > > I understand that choosing the correct encoding > is important when creating text labels (and so > on) with characters outside the ASCII range. > > But how does gnuplot treat non-ASCII characters > on input, that is, when reading a file in > plot "file" u 3:4 > > I guess it's somewhat of a non-issue, as long as > all the data in the file is numeric - that can > be represented with strict ASCII. > > But what if the file contains string columns - > do they get interpreted differently, based on > set encoding? Yes and no. The individual "words" will get read in and stored no matter what the encoding. But the program needs to know the encoding in order to operate on them properly. For example: set encoding iso_8859_1 # This is wrong test = "αβγδεζηθ" print test # This works because the whole thing is spit out print test[2:2] # This fails because the encoding is wrong print test[3:4] # As does this set encoding utf8 # this fixes it print test[2:2] print test [3:4] > And can I generally rely on > gnuplot to handle multi-byte characters safely > (that is, recognize them as multibyte and store > them accordingly)? UTF8 - yes shift-JIS - I think so but I don't use it myself other - untested > Best, > > Ph. > > > > ------------------------------------------------------------------------------ > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: Philipp K. J. <ja...@ie...> - 2014-10-29 05:45:56
|
I understand that choosing the correct encoding is important when creating text labels (and so on) with characters outside the ASCII range. But how does gnuplot treat non-ASCII characters on input, that is, when reading a file in plot "file" u 3:4 I guess it's somewhat of a non-issue, as long as all the data in the file is numeric - that can be represented with strict ASCII. But what if the file contains string columns - do they get interpreted differently, based on set encoding? And can I generally rely on gnuplot to handle multi-byte characters safely (that is, recognize them as multibyte and store them accordingly)? Best, Ph. |
|
From: Philipp K. J. <ja...@ie...> - 2014-10-29 01:47:12
|
> > Questions: > > 1) Are there other ways to get data into these > > data structures, besides typing it in at the > > cmd prompt? For instance, is there a way to > > read the data from a file? > > Normally it is part of a script file. > Many of the demos have been re-written to use it. > See for example heatmaps.dem That's precisely where I am coming from - I am trying to figure out how it would fit into an interactive workflow. (I can of course see how it keeps the demo scripts tidy and self-contained.) > > > 2) Is there a preferred way to save the contents > > of the data structure to file? I can do it using: > > set table "data.txt"; plot $d; unset table > > Is this the right way to think about this? > > set print 'foo' > print $data > Bingo - I had missed that. Thanks! > |
|
From: sfeam <sf...@us...> - 2014-10-29 01:04:18
|
On Tuesday, 28 October 2014 02:36:12 PM Philipp K. Janert wrote: > > I am trying to understand gnuplot's new > "here doc" feature: > > $data << EOD > 1 > 2 > 3 > EOD > > plot $data > > Questions: > 1) Are there other ways to get data into these > data structures, besides typing it in at the > cmd prompt? For instance, is there a way to > read the data from a file? Normally it is part of a script file. Many of the demos have been re-written to use it. See for example heatmaps.dem > 2) Is there a preferred way to save the contents > of the data structure to file? I can do it using: > set table "data.txt"; plot $d; unset table > Is this the right way to think about this? set print 'foo' print $data |