You can subscribe to this list here.
| 2001 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(83) |
Nov
(57) |
Dec
(111) |
| 2004 |
Jan
(38) |
Feb
(121) |
Mar
(107) |
Apr
(241) |
May
(102) |
Jun
(190) |
Jul
(239) |
Aug
(158) |
Sep
(184) |
Oct
(193) |
Nov
(47) |
Dec
(68) |
| 2005 |
Jan
(190) |
Feb
(105) |
Mar
(99) |
Apr
(65) |
May
(92) |
Jun
(250) |
Jul
(197) |
Aug
(128) |
Sep
(101) |
Oct
(183) |
Nov
(186) |
Dec
(42) |
| 2006 |
Jan
(102) |
Feb
(122) |
Mar
(154) |
Apr
(196) |
May
(181) |
Jun
(281) |
Jul
(310) |
Aug
(198) |
Sep
(145) |
Oct
(188) |
Nov
(134) |
Dec
(90) |
| 2007 |
Jan
(134) |
Feb
(181) |
Mar
(157) |
Apr
(57) |
May
(81) |
Jun
(204) |
Jul
(60) |
Aug
(37) |
Sep
(17) |
Oct
(90) |
Nov
(122) |
Dec
(72) |
| 2008 |
Jan
(130) |
Feb
(108) |
Mar
(160) |
Apr
(38) |
May
(83) |
Jun
(42) |
Jul
(75) |
Aug
(16) |
Sep
(71) |
Oct
(57) |
Nov
(59) |
Dec
(152) |
| 2009 |
Jan
(73) |
Feb
(213) |
Mar
(67) |
Apr
(40) |
May
(46) |
Jun
(82) |
Jul
(73) |
Aug
(57) |
Sep
(108) |
Oct
(36) |
Nov
(153) |
Dec
(77) |
| 2010 |
Jan
(42) |
Feb
(171) |
Mar
(150) |
Apr
(6) |
May
(22) |
Jun
(34) |
Jul
(31) |
Aug
(38) |
Sep
(32) |
Oct
(59) |
Nov
(13) |
Dec
(62) |
| 2011 |
Jan
(114) |
Feb
(139) |
Mar
(126) |
Apr
(51) |
May
(53) |
Jun
(29) |
Jul
(41) |
Aug
(29) |
Sep
(35) |
Oct
(87) |
Nov
(42) |
Dec
(20) |
| 2012 |
Jan
(111) |
Feb
(66) |
Mar
(35) |
Apr
(59) |
May
(71) |
Jun
(32) |
Jul
(11) |
Aug
(48) |
Sep
(60) |
Oct
(87) |
Nov
(16) |
Dec
(38) |
| 2013 |
Jan
(5) |
Feb
(19) |
Mar
(41) |
Apr
(47) |
May
(14) |
Jun
(32) |
Jul
(18) |
Aug
(68) |
Sep
(9) |
Oct
(42) |
Nov
(12) |
Dec
(10) |
| 2014 |
Jan
(14) |
Feb
(139) |
Mar
(137) |
Apr
(66) |
May
(72) |
Jun
(142) |
Jul
(70) |
Aug
(31) |
Sep
(39) |
Oct
(98) |
Nov
(133) |
Dec
(44) |
| 2015 |
Jan
(70) |
Feb
(27) |
Mar
(36) |
Apr
(11) |
May
(15) |
Jun
(70) |
Jul
(30) |
Aug
(63) |
Sep
(18) |
Oct
(15) |
Nov
(42) |
Dec
(29) |
| 2016 |
Jan
(37) |
Feb
(48) |
Mar
(59) |
Apr
(28) |
May
(30) |
Jun
(43) |
Jul
(47) |
Aug
(14) |
Sep
(21) |
Oct
(26) |
Nov
(10) |
Dec
(2) |
| 2017 |
Jan
(26) |
Feb
(27) |
Mar
(44) |
Apr
(11) |
May
(32) |
Jun
(28) |
Jul
(75) |
Aug
(45) |
Sep
(35) |
Oct
(285) |
Nov
(99) |
Dec
(16) |
| 2018 |
Jan
(8) |
Feb
(8) |
Mar
(42) |
Apr
(35) |
May
(23) |
Jun
(12) |
Jul
(16) |
Aug
(11) |
Sep
(8) |
Oct
(16) |
Nov
(5) |
Dec
(8) |
| 2019 |
Jan
(9) |
Feb
(28) |
Mar
(4) |
Apr
(10) |
May
(7) |
Jun
(4) |
Jul
(4) |
Aug
|
Sep
(4) |
Oct
|
Nov
(23) |
Dec
(3) |
| 2020 |
Jan
(19) |
Feb
(3) |
Mar
(22) |
Apr
(17) |
May
(10) |
Jun
(69) |
Jul
(18) |
Aug
(23) |
Sep
(25) |
Oct
(11) |
Nov
(20) |
Dec
(9) |
| 2021 |
Jan
(1) |
Feb
(7) |
Mar
(9) |
Apr
|
May
(1) |
Jun
(8) |
Jul
(6) |
Aug
(8) |
Sep
(7) |
Oct
|
Nov
(2) |
Dec
(23) |
| 2022 |
Jan
(23) |
Feb
(9) |
Mar
(9) |
Apr
|
May
(8) |
Jun
(1) |
Jul
(6) |
Aug
(8) |
Sep
(30) |
Oct
(5) |
Nov
(4) |
Dec
(6) |
| 2023 |
Jan
(2) |
Feb
(5) |
Mar
(7) |
Apr
(3) |
May
(8) |
Jun
(45) |
Jul
(8) |
Aug
|
Sep
(2) |
Oct
(14) |
Nov
(7) |
Dec
(2) |
| 2024 |
Jan
(4) |
Feb
(4) |
Mar
|
Apr
(7) |
May
(2) |
Jun
(1) |
Jul
|
Aug
(5) |
Sep
|
Oct
|
Nov
(4) |
Dec
(14) |
| 2025 |
Jan
(22) |
Feb
(6) |
Mar
(5) |
Apr
(14) |
May
(6) |
Jun
(11) |
Jul
(19) |
Aug
|
Sep
(17) |
Oct
(1) |
Nov
(2) |
Dec
(18) |
| 2026 |
Jan
|
Feb
|
Mar
(5) |
Apr
|
May
(2) |
Jun
(1) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Petr M. <mi...@ph...> - 2004-10-15 07:01:50
|
> > N = N + 1
> > filename = "run_" . N . ".dat"
> > print filename
> > run_4.dat
> >
> > I am not aware of any problems introduced by either feature,
> > but comments are welcome.
>
> I'm not sure if this one is really needed. I would rather like to
> have a builtin function "atof" to explicitly cast strings to
> numbers.
I like this, it is like in awk.
> I think the extra features patch can give parse errors. Consider
>
> x = "5"
> set label x, 7
I think that these problems may arise only if there is a "default" option
expected for a given value (like "font" option for "set term post", where
just a string is OK). But this can always be avoided by a particular
keyword.
> file = "input.dat"
> value = `some-command @file`
I would propose to ignore macro expansion in `blabla1` and
!blabla2
but allow them in
system('blabla2')
and in
value = execute('blabla1');
Where the execute() is a new command. The user could use what he wants.
> set label sprintf("foo %f %f",var1,var2)
I really prefer the sprintf() way as it is a function like in C & friends.
>> gnuplot> print sprintf("%i", 5.)
>> 0
>This example doesn't work in C either.
But it works in Octave and awk; I use it there to print an integer part of
the value. I would rather prefer an inteligent version that returns in the
above example 5.
> FOO = floor(FOO)
> "see man page for sprintf"
Well, "man floor" says that result of floor() and ceil() is also a double
value, so it does not help. Just in gnuplot it returns an integer.
---
PM
|
|
From: Ethan M. <merritt@u.washington.edu> - 2004-10-14 20:01:08
|
On Thursday 14 October 2004 12:29 pm, Juergen Wieferink wrote:
> Am Mittwoch, 13. Oktober 2004 19:39 schrieb Ethan Merritt:
> > Issues that have been raised regarding the core code (#1043784)
> >
> > - The pre-defined function sprintf() requires some familiarity
> > with C language formats. Harald doesn't like this. I see it as a
> > feature, since the documentation is basically "see man page for
> > sprintf"
>
> I tried
>
> gnuplot> print sprintf("%i", 5)
> 5
> gnuplot> print sprintf("%i", 5.)
> 0
> gnuplot> print sprintf("%f", 5.)
> 5.000000
> gnuplot> print sprintf("%f", 5)
> 0.000000
>
> Are the second and the fourth example meant not to work?
The 2nd example doesn't work in C either.
"see man page for sprintf" :-) :-)
> But is there a way to find out if a variable is an int or
> a double/complex (apart from "show var")? I'd prefer not to have to
> trigger what type my variable is -- at least as long as I know it is
> numerical.
gnuplot already has the standard functions floor(x) and ceil(x),
which will force an integer value. If you are not sure whether FOO
is currently an int, you can do
FOO = floor(FOO)
> How difficult would it be to get gnuplot to do casts implicitly?
The existing code in internal.c maps all arithmetic operations onto
C language statements, so the normal C rules for promoting
ints to doubles apply.
Are you asking if it would be possible to catch mis-matched
format statements at runtime? I suppose so, although this goes
beyond what most languages do.
The string variable code already does a little of that, since
otherwise an attempt to print a number with %s would segfault
immediately.
--
Ethan A Merritt merritt@u.washington.edu
Biomolecular Structure Center
Mailstop 357742
University of Washington, Seattle, WA 98195
|
|
From: Ethan M. <merritt@u.washington.edu> - 2004-10-14 19:40:01
|
On Thursday 14 October 2004 11:46 am, Juergen Wieferink wrote: > > I think the extra features patch can give parse errors. Consider > > x = "5" > set label x, 7 If you are thinking that "5" will be treated as a number in this context, that is not correct. In the case of "set label foo", the parser must explicitly check whether foo is a string variable or an integer variable. Otherwise it is ambiguous whether you are setting a property of label 5, or setting the current label to have text string "5". -- Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center Mailstop 357742 University of Washington, Seattle, WA 98195 |
|
From: Ethan M. <merritt@u.washington.edu> - 2004-10-14 19:34:55
|
On Thursday 14 October 2004 12:36 am, Hans-Bernhard Broeker wrote:
> Not quite. It was
> set label "foo %f", var1, " %f", var2
>
> > new: set label sprintf("foo %f %f",var1,var2)
> > If backwards-compatibilty for this specific case is required,
> > that may be a problem. Right now the old syntax can cause
> > parsing errors, so I disabled it.
> What parse errors would that be, anyway?
I added the old syntax back to the current incarnation of the code
and it seems to work in a quick test. So whatever problem I had
originally during development must have been fixed as a result of
the code evolution.
So it seems not to be a problem after all.
Sorry for the false alarm.
--
Ethan A Merritt merritt@u.washington.edu
Biomolecular Structure Center
Mailstop 357742
University of Washington, Seattle, WA 98195
|
|
From: Juergen W. <wie...@fr...> - 2004-10-14 19:30:30
|
Am Mittwoch, 13. Oktober 2004 19:39 schrieb Ethan Merritt:
> Issues that have been raised regarding the core code (#1043784)
>
> - The pre-defined function sprintf() requires some familiarity
> with C language formats. Harald doesn't like this. I see it as a
> feature, since the documentation is basically "see man page for
> sprintf"
I tried
gnuplot> print sprintf("%i", 5)
5
gnuplot> print sprintf("%i", 5.)
0
gnuplot> print sprintf("%f", 5.)
5.000000
gnuplot> print sprintf("%f", 5)
0.000000
Are the second and the fourth example meant not to work? In this
short example, this would not be a problem; it's simply the fault of
the user. But is there a way to find out if a variable is an int or
a double/complex (apart from "show var")? I'd prefer not to have to
trigger what type my variable is -- at least as long as I know it is
numerical.
How difficult would it be to get gnuplot to do casts implicitly?
> - This new code supersedes the current special case hack for
> formatting labels:
> old: set label "foo %f %f",var1,var2
> new: set label sprintf("foo %f %f",var1,var2)
> If backwards-compatibilty for this specific case is required,
> that may be a problem. Right now the old syntax can cause
> parsing errors, so I disabled it.
>
> - J=FCrgen Wieferink has pointed out that there may be problems
> if a user defines a string variable that duplicates a gnuplot
> keyword:
> lt =3D "foo"
> plot sin(x) with lines lt 3
> The intention is that keyword parsing always happens first,
> and certainly in this simple case it does and there is no
> problem. But it wouldn't surprise me if there are some
> pathological cases. I think we can just fix them as they are
> reported, or tell people "don't redefine 'with' and expect
> anything reasonable to happen".
You're probably right. I think your idea
gnuplot> tc =3D "label"
gnuplot> set label n tc at 1, 1
warning: ignoring user-defined variable tc=20
because it is also a keyword
^
textcolor colorspec not recognized
is a good one.
Once more: I really like this patch. Apart from the minor issues
above, I think it's really a great thing. Eventually, I'll be able
to use dynamic filenames! And the design seems to be quite mature.
Juergen
|
|
From: Juergen W. <wie...@fr...> - 2004-10-14 19:29:19
|
Am Mittwoch, 13. Oktober 2004 20:01 schrieb Ethan Merritt: > > I was expecting more feedback, but maybe "no news = good news". > > Yes, the core code can probably go into cvs. The add-ons > > should get more discussion. I'll start separate threads for > > each. > > The string variables "extra features" patch (#1043790) > only contains two features right now: > > 1) String variables are auto-promoted to numbers if they are > encountered during evaluation of an arithmetic expression. > e.g: (3 == "1" + "2") evaluates to TRUE > > 2) Integers are auto-promoted to strings if they are encountered > during evaluation of a string expression. > e.g.: > N = N + 1 > filename = "run_" . N . ".dat" > print filename > run_4.dat > > I am not aware of any problems introduced by either feature, > but comments are welcome. I'm not sure if this one is really needed. I would rather like to have a builtin function "atof" to explicitly cast strings to numbers. The other way round is done by sprintf. This patch makes the difference between numerical and string variables less clear. Juergen |
|
From: Juergen W. <wie...@fr...> - 2004-10-14 18:46:47
|
Am Donnerstag, 14. Oktober 2004 09:36 schrieb Hans-Bernhard Broeker:
> > - This new code supersedes the current special case hack for
> > formatting labels:
> > old: set label "foo %f %f",var1,var2
>
> Not quite. It was
>
> set label "foo %f", var1, " %f", var2
>
> I.e. only one variable per format string, because that way it can
> use gprintf(), and support the gnuplot extension formats like
> %L/%l, which use two format strings to print the same number.
>
> > new: set label sprintf("foo %f %f",var1,var2)
> > If backwards-compatibilty for this specific case is
> > required, that may be a problem. Right now the old syntax can
> > cause parsing errors, so I disabled it.
>
> Given that this format has been available for only one officially
> released gnuplot version, I have mixed feelings about throwing it
> out again immediately. On one hand, it's not some time-honoured
> thing that people would be mad at us for breaking deliberately,
> on the other, it *is* a brand new feature for some of them, so
> it's hard to tell how they will react if we take it away again so
> soon. What parse errors would that be, anyway?
I think the extra features patch can give parse errors. Consider
x = "5"
set label x, 7
You could parse x for "%", but would it be worth it?
Juergen
|
|
From: Juergen W. <wie...@fr...> - 2004-10-14 18:40:38
|
Am Mittwoch, 13. Oktober 2004 20:15 schrieb Ethan Merritt: > > I was expecting more feedback, but maybe "no news = good news". > > Yes, the core code can probably go into cvs. The add-ons > > should get more discussion. I'll start separate threads for > > each. > > This is a re-implementation of the "userstrings" patch I made > quite a while back for version 3.8 and still available for 4.0. > I know people are using this, because they send me Email. > > The only issue raised about the earlier patch was that it > used the symbol "$" for a new purpose, possibly causing > confusion with multiple existing uses. So for this new version > of the patch I have substituted the symbol "@", which is not > currently accepted by the gnuplot parser at all. > > Syntax: > myformat = " 1:2:($4-$5) with lines lt palette" > plot "foo" using @myformat > > The parsing code performs a string substitution before > interpreting the command line, yielding > plot "foo" using 1:2:($4-$5) with lines lt palette > > Since @ was not previously legal at all, I can't think how > this could break any existing scripts or usage. > But as always, comments are welcome. It can break scripts because macros are evaluated in "!"- and backtic shell commands: gmx = "foo" print `echo us...@gm...` ! echo us...@gm... While the latter doesn't seem to be useful (you can use the system command instead) the macro expansion in backtics might have some use. Consider file = "input.dat" value = `some-command @file` I would really appreciate this functionality. But it is some kind of inconsistent that value = `some-command "@file"` wouldn't work. You would have to kludge backticcommand = '`some-command "' . file . '"`' value = @backticcommand On the other hand, if you really need the "@" in the backtic command, you would have to count the quotes. This isn't really intuitive. That said, I think this patch is a small change which clearly extends the power of gnuplot. Juergen PS: Just curious: Is there a reason that string_expand isn't called from within scanner just like substitute? |
|
From: Hans-Bernhard B. <br...@ph...> - 2004-10-14 07:36:59
|
Ethan Merritt wrote:
> Issues that have been raised regarding the core code (#1043784)
> - The pre-defined function sprintf() requires some familiarity with
> C language formats. Harald doesn't like this. I see it as a feature,
> since the documentation is basically "see man page for sprintf"
>
> - This new code supersedes the current special case hack for
> formatting labels:
> old: set label "foo %f %f",var1,var2
Not quite. It was
set label "foo %f", var1, " %f", var2
I.e. only one variable per format string, because that way it can use
gprintf(), and support the gnuplot extension formats like %L/%l, which
use two format strings to print the same number.
> new: set label sprintf("foo %f %f",var1,var2)
> If backwards-compatibilty for this specific case is required,
> that may be a problem. Right now the old syntax can cause
> parsing errors, so I disabled it.
Given that this format has been available for only one officially
released gnuplot version, I have mixed feelings about throwing it out
again immediately. On one hand, it's not some time-honoured thing that
people would be mad at us for breaking deliberately, on the other, it
*is* a brand new feature for some of them, so it's hard to tell how they
will react if we take it away again so soon. What parse errors would
that be, anyway?
|
|
From: Hans-Bernhard B. <br...@ph...> - 2004-10-14 07:28:00
|
Petr Mikulik wrote: > Is there the fix for the "white line" bug in the combination of > postscript + pm3d + gs8.x + antialiasing? That would be worth it. Since we only know how to trigger it, but never quite found out *why* it happens, I don't see any way of fixing that one. Maybe someone should file a ghostscript bug for that one? |
|
From: Petr M. <mi...@ph...> - 2004-10-14 06:51:54
|
> But I do think it is worth putting out a 4.0.2 bugfix release. > > It's been 6 months, and we've gotten several real-world > bug reports for things that had already been fixed in the > branch-4-0-stable cvs tree. I think so too. Is there the fix for the "white line" bug in the combination of postscript + pm3d + gs8.x + antialiasing? That would be worth it. -- PM |
|
From: Ethan M. <merritt@u.washington.edu> - 2004-10-13 20:11:23
|
On Wednesday 13 October 2004 03:53 am, Per Persson wrote: > Hi, > is there a estimated ETA for gnuplot 4.1? Heh. Not likely. But I do think it is worth putting out a 4.0.2 bugfix release. It's been 6 months, and we've gotten several real-world bug reports for things that had already been fixed in the branch-4-0-stable cvs tree. -- Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center Mailstop 357742 University of Washington, Seattle, WA 98195 |
|
From: Ethan M. <merritt@u.washington.edu> - 2004-10-13 18:15:57
|
> On Tuesday 12 October 2004 11:37 pm, Petr Mikulik wrote: >> The string patch is cool, and looks like complete -- is there still some >> functionality missing? Should we think to put it to cvs soon? > > I was expecting more feedback, but maybe "no news = good news". > Yes, the core code can probably go into cvs. The add-ons should > get more discussion. I'll start separate threads for each. This is a re-implementation of the "userstrings" patch I made quite a while back for version 3.8 and still available for 4.0. I know people are using this, because they send me Email. The only issue raised about the earlier patch was that it used the symbol "$" for a new purpose, possibly causing confusion with multiple existing uses. So for this new version of the patch I have substituted the symbol "@", which is not currently accepted by the gnuplot parser at all. Syntax: myformat = " 1:2:($4-$5) with lines lt palette" plot "foo" using @myformat The parsing code performs a string substitution before interpreting the command line, yielding plot "foo" using 1:2:($4-$5) with lines lt palette Since @ was not previously legal at all, I can't think how this could break any existing scripts or usage. But as always, comments are welcome. -- Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center Mailstop 357742 University of Washington, Seattle, WA 98195 |
|
From: Ethan M. <merritt@u.washington.edu> - 2004-10-13 18:01:23
|
> On Tuesday 12 October 2004 11:37 pm, Petr Mikulik wrote: >> The string patch is cool, and looks like complete -- is there still some >> functionality missing? Should we think to put it to cvs soon? > > I was expecting more feedback, but maybe "no news = good news". > Yes, the core code can probably go into cvs. The add-ons should > get more discussion. I'll start separate threads for each. The string variables "extra features" patch (#1043790) only contains two features right now: 1) String variables are auto-promoted to numbers if they are encountered during evaluation of an arithmetic expression. e.g: (3 == "1" + "2") evaluates to TRUE 2) Integers are auto-promoted to strings if they are encountered during evaluation of a string expression. e.g.: N = N + 1 filename = "run_" . N . ".dat" print filename run_4.dat I am not aware of any problems introduced by either feature, but comments are welcome. -- Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center Mailstop 357742 University of Washington, Seattle, WA 98195 |
|
From: Ethan M. <merritt@u.washington.edu> - 2004-10-13 17:39:27
|
On Tuesday 12 October 2004 11:37 pm, Petr Mikulik wrote:
>=20
> The string patch is cool, and looks like complete -- is there still some
> functionality missing? Should we think to put it to cvs soon?
I was expecting more feedback, but maybe "no news =3D good news".
Yes, the core code can probably go into cvs. The add-ons should
get more discussion. I'll start separate threads for each.
Issues that have been raised regarding the core code (#1043784)
=2D The pre-defined function sprintf() requires some familiarity with=20
C language formats. Harald doesn't like this. I see it as a feature,
since the documentation is basically "see man page for sprintf"
=2D This new code supersedes the current special case hack for
formatting labels:
old: set label "foo %f %f",var1,var2
new: set label sprintf("foo %f %f",var1,var2)
If backwards-compatibilty for this specific case is required,
that may be a problem. Right now the old syntax can cause
parsing errors, so I disabled it.
=2D J=FCrgen Wieferink has pointed out that there may be problems
if a user defines a string variable that duplicates a gnuplot
keyword:
lt =3D "foo"
plot sin(x) with lines lt 3
The intention is that keyword parsing always happens first,
and certainly in this simple case it does and there is no problem.
But it wouldn't surprise me if there are some pathological cases.
I think we can just fix them as they are reported, or tell people
"don't redefine 'with' and expect anything reasonable to happen".
=2D Daniel and Petr pointed out that currently "plot ...007" actually
plots something because it is parsed as "plot 0.0 lt 0 pt 0.007".
After this patch, "plot ...007" will return some error message
about improper operands for string concatenation. I doubt that
this will affect any real world cases.
=2D-=20
Ethan A Merritt merritt@u.washington.edu
Biomolecular Structure Center
Mailstop 357742
University of Washington, Seattle, WA 98195
|
|
From: Hans-Bernhard B. <br...@ph...> - 2004-10-13 11:51:53
|
Per Persson wrote: > is there a estimated ETA for gnuplot 4.1? No. gnuplot has esentially never used time as a planning instrument outside those phases when releases were actively being put together. In other words, the ETA is "whenever we think it's ready". |
|
From: Per P. <per...@ma...> - 2004-10-13 10:53:30
|
Hi, is there a estimated ETA for gnuplot 4.1? I'm working on enhanced text support for aquaterm and I'd like to have it well tested by then... /Per |
|
From: Petr M. <mi...@ph...> - 2004-10-13 06:38:59
|
> So there I was... thinking about two recent requests for > gnuplot features. > > One is now listed as RFE #1040597 "user-definable point symbols" > The other one, from comp.graphics.apps.gnuplot, asked how to > make a plot where the coordinate pair itself was printed at the > appropriate point on the graph. > > I suddenly realized you can do both of these using the > core functionality of the string variable code (now split out > as patchset #1043784). > > Sample plots can be viewed at > http://www.bmsc.washington.edu/people/merritt/gnuplot/stringvariables.html The string patch is cool, and looks like complete -- is there still some functionality missing? Should we think to put it to cvs soon? -- Petr |
|
From: Harald H. <h.h...@tu...> - 2004-10-12 21:55:33
|
On Tue, 12 Oct 2004, Hans-Bernhard Broeker wrote: > On Mon, 11 Oct 2004, Harald Harders wrote: > > > I think a mixture of Ethan's and your answer is correct. For arrows within > > plots, > > What exactly would an "array within a plot" be? What would distinguish > it from a different type of arrow? I ment the difference between arrows produced by 'plot' or 'splot' and arrows produced by 'set arrow'. The first should be clipped to the plot boundaries while the second should be clipped to the screen boundaries. > I think the BUGS entry is quite accurate as it is: arrows aren't clipped > at all, and that's clearly wrong. The discussion what would be right > has just proven to be too involved to be written into BUGS. You are right. We should just keep in mind what is ment. -- Harald Harders h.h...@tu... http://www.harald-harders.de |
|
From: Hans-Bernhard B. <br...@ph...> - 2004-10-12 08:03:54
|
On Mon, 11 Oct 2004, Harald Harders wrote: > I think a mixture of Ethan's and your answer is correct. For arrows within > plots, What exactly would an "array within a plot" be? What would distinguish it from a different type of arrow? I think the BUGS entry is quite accurate as it is: arrows aren't clipped at all, and that's clearly wrong. The discussion what would be right has just proven to be too involved to be written into BUGS. -- Hans-Bernhard Broeker (br...@ph...) Even if all the snow were burnt, ashes would remain. |
|
From: Harald H. <h.h...@tu...> - 2004-10-11 19:26:09
|
On Mon, 11 Oct 2004, Hans-Bernhard Broeker wrote: > On Sat, 9 Oct 2004, Harald Harders wrote: > > > In the file BUGS, one thing is listed that I don't see as a bug: > > > > *) Arrows and labels are not clipped (2D and 3D). > > > > I often use labels and arrows with the intention to generate things > > outside the plot margins, for example special axis labels (according to > > the DIN style for diagrams). If they were clipped I would not be able to > > do so anymore. Thus, I think it is not a bug and should be removed from > > BUGS. > > I think you're misunderstanding what "clipped" means, here. The thing > they should be clipped against is the page boundary, not that of the plot. > Try a > > set arrow from screen -1, screen -1 to screen 3, screen 3 > > on various terminals, and I think you'll see what I mean. I think a mixture of Ethan's and your answer is correct. For arrows within plots, a clipping to the plot boundaries should be added while for all other arrows, the screen boundaries should be used. But shouldn't that be written to BUGS that way? Yours Harald -- Harald Harders h.h...@tu... http://www.harald-harders.de |
|
From: Daniel J S. <dan...@ie...> - 2004-10-11 14:52:42
|
Petr Mikulik wrote: >I find this bug also quite boring: I draw a curve with 3 peaks, put arrows >towards peak maxima, then zoom around one peak -- and there is a garbage of >the out-of-screen lines. > >Would it be possible to clip them? > If I recall this discussion correctly, there was an issue about a coordinate value cast to an unsigned number. However, this occurred throughout the software and there was no one or two line fix. Dan |
|
From: Petr M. <mi...@ph...> - 2004-10-11 11:25:23
|
> > *) Arrows and labels are not clipped (2D and 3D). > > > > I often use labels and arrows with the intention to generate things > > outside the plot margins, for example special axis labels (according to > > the DIN style for diagrams). If they were clipped I would not be able to > > do so anymore. Thus, I think it is not a bug and should be removed from > > BUGS. > > That is a good point. But the bug is real. If you use zoom on a plot > containing vectors you will see all sorts of garbage on the screen as the > individual vectors span the plot margins. Perhaps the rule should be to > clip auto-generated arrows (i.e. 'plot with vectors') but not arrows > requested individually by the user. I find this bug also quite boring: I draw a curve with 3 peaks, put arrows towards peak maxima, then zoom around one peak -- and there is a garbage of the out-of-screen lines. Would it be possible to clip them? --- PM |
|
From: Hans-Bernhard B. <br...@ph...> - 2004-10-11 08:44:07
|
On Sat, 9 Oct 2004, Harald Harders wrote: > > In the file BUGS, one thing is listed that I don't see as a bug: > > *) Arrows and labels are not clipped (2D and 3D). > > I often use labels and arrows with the intention to generate things > outside the plot margins, for example special axis labels (according to > the DIN style for diagrams). If they were clipped I would not be able to > do so anymore. Thus, I think it is not a bug and should be removed from > BUGS. I think you're misunderstanding what "clipped" means, here. The thing they should be clipped against is the page boundary, not that of the plot. Try a set arrow from screen -1, screen -1 to screen 3, screen 3 on various terminals, and I think you'll see what I mean. -- Hans-Bernhard Broeker (br...@ph...) Even if all the snow were burnt, ashes would remain. |
|
From: Ethan M. <merritt@u.washington.edu> - 2004-10-10 01:19:01
|
So there I was... thinking about two recent requests for gnuplot features. One is now listed as RFE #1040597 "user-definable point symbols" The other one, from comp.graphics.apps.gnuplot, asked how to make a plot where the coordinate pair itself was printed at the appropriate point on the graph. I suddenly realized you can do both of these using the core functionality of the string variable code (now split out as patchset #1043784). Sample plots can be viewed at http://www.bmsc.washington.edu/people/merritt/gnuplot/stringvariables.html User-specific point symbols ------------------------------------- Simple example (equivalent to plot with points using "A" as a point style) plot "foo" using 1:2:"A" with labels Snazzier example plot "foo" using 1:2:( ($2>$3) ? "J" : "D" ) with labels \ font "WingDings" This one plots a smily-face at each point where col 2 is greater than col 3, and a thumbs-down wherever col 2 is less than col 3. Write coord pair on graph ----------------------------------- format = "[%.0f, %.0f]" coords(x,y) = sprintf( format, x, y ) plot "foo" using 1:2:( coords($1,$2) ) with labels |