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: Daniel J S. <dan...@ie...> - 2004-12-11 18:40:10
|
Nigel Nunn wrote: >My experimental term wx works well, but the Gnuplot's use >of global variables effectively limits us to a single panel. >This could be fixed by packaging these globals in a struct, >and associating one such struct with each display panel. > > We've had discussion of global variables before. I don't like 'em... and I tried reducing the extent of them when reworking the use of df_open(), df_readline(), etc. Dan |
|
From: Nigel N. <nN...@au...> - 2004-12-11 15:02:25
|
Hi all,=0D =0D Thanks to Hans-Bernhard for setting the (wx) scene.=0D --- On Friday, 10 December 2004 HBB wrote: --- > Ethan Merritt wrote: >> On Tuesday 07 December 2004 09:34 am, Petr Mikulik wrote: >>=0D >>> Again, since wx transmogrifies into a native app on each >>> platform, the same option would still be available for >>> term=3Dwx on a Win32/64 box. =0D >>=0D >> What is this "term=3Dwx"; is that an out-of-tree gnuplot=0D >> driver, or something else entirely? > > Nigel Nunn seems otherwise occupied, so I'll bite: it's a=0D > hypothetical new driver, to be built by extending Nigel's=0D > work on integrating gnuplot into other apps, as a GUI control=0D > (original an MFC control, now, apparently, a wx Widget). My (ever-evolving, monolithic) simulation environment needs=0D a number of plotting panels. These are managed by the app, and plots are generated by simulation threads. Since most=0D academics appear to prefer their flavor of *nix rather than=0D HPC-Win64 on a rack of multi-core blades, there was little=0D interest in my VC-specific version... hence I migrated the=0D whole show to wxWidgets.=0D My experimental term wx works well, but the Gnuplot's use=0D of global variables effectively limits us to a single panel.=0D This could be fixed by packaging these globals in a struct,=0D and associating one such struct with each display panel.=0D =0D =0D >> Or do you mean that rather than reading from a real file, >> you want gnuplot to read from a shared-memory area? > > That's what he meant. gnuplot-as-a-library, if it is to make=0D > sense, needs a way to get data passed in by huge blocks, from=0D > the calling application. Going through an ASCII data file=0D > would be pretty foolish for that, but a shared memory-mapped=0D > file of binary data would do it. > > In other words, a named pipe by usage, but implemented in a=0D > more Windows-ish fashion. Memory-mapped files were one of those neat innovations the=0D DEC engineers built into their NT-OS for their Alpha, before=0D Microsoft bought everything and everyone involved.=0D =0D Nigel=0D =0D =0D =0D ___________________________________________________________________________= ________ This message is intended for the addressee named and may contain= confidential and=0D privileged information. If you are not the intended recipient please note= that any=0D form of distribution, copying or use of this communication or the= information in it=0D is strictly prohibited and may be unlawful. If you receive this message in= error,=0D please delete it and notify the sender. Keep up to date with what's happening in Australian sport. Visit= www.ausport.gov.au ___________________________________________________________________________= ________=0D |
|
From: Petr M. <mi...@ph...> - 2004-12-10 15:43:27
|
> and tried to view it with xpdf version 3.00, gv version 3.5.8 and Adobe > acrobat reader 4.0. Neither program shows the right margin of the > reference card: in the Graphics Devices column, only the "s" of the > "set terminal" command is shown. Xpdf complains with > Error: No paper information available - using defaults I've put there a regenerated version. Please try it. --- PM |
|
From: Hans-Bernhard B. <br...@ph...> - 2004-12-09 19:36:10
|
Ethan Merritt wrote: > On Tuesday 07 December 2004 09:34 am, Petr Mikulik wrote: > >>>Again, since wx transmogrifies into a native app on each >>>platform, the same option would still be available for >>>term=wx on a Win32/64 box. > > > What is this "term=wx"; is that an out-of-tree gnuplot driver, > or something else entirely? Nigel Nunn seems otherwise occupied, so I'll bite: it's a hypothetical new driver, to be built by extending Nigel's work on integrating gnuplot into other apps, as a GUI control (original an MFC control, now, apparently, a wx Widget). > Or do you mean that rather than reading from a real file, > you want gnuplot to read from a shared-memory area? That's what he meant. gnuplot-as-a-library, if it is to make sense, needs a way to get data passed in by huge blocks, from the calling application. Going through an ASCII data file would be pretty foolish for that, but a shared memory-mapped file of binary data would do it. In other words, a named pipe by usage, but implemented in a more Windows-ish fashion. |
|
From: Petr M. <mi...@ph...> - 2004-12-08 07:51:05
|
> I've just uploaded a patch to graph3d.c which implements the depth patch > also for "set pm3d implicit". Can you please upload the complete patch? pm3d.c fails to be patched. Thanks, Petr |
|
From: Johannes Z. <joh...@ze...> - 2004-12-07 19:06:43
|
On Tue, Dec 07, 2004 at 09:35:35AM +0100, Petr Mikulik wrote:
> > > set pm3d depth
> > > splot 'whale.dat' with pm3d
> >
> > actually here it works fine. I guess you're missing
> >
> > set pm3d at s explicit
>
> Yes, now it works fine.
>
> > I guess I've to update the patch to work also with implicit surface
> > coloring.
>
> That would be nice.
I've just uploaded a patch to graph3d.c which implements the depth patch
also for "set pm3d implicit". Even if pm3d is "implicit", the surface
type has to be specified explicitely on the splot line like
gnuplot> set pm3d implicit
gnuplot> splot 'whale.dat' with pm3d
This is due to the fact that when using
gnuplot> set pm3d implicit
gnuplot> splot 'whale.dat'
the pm3d surface must be plotted before the default style (which might
be lines for example).
--
Johannes
|
|
From: Daniel J S. <dan...@ie...> - 2004-12-07 19:02:42
|
Petr Mikulik wrote: >I have posted this message several times already, but no one responded. = Who >is the maintainer of www.gnuplot.info??? > >FWD: >Mirroring of gnuplot.sf.net to www.gnuplot.info does not work -- cf. pag= es >from October/November to those of May. > =20 > Not sure what is not being updated... However, perusing some demos, I'd=20 suggest someone removing this one: Une belle fille <http://f3wm.free.fr/linux/gp_girl.html> =96 gnuplot peut= =20 tracer n'importe quelle courbe depuis un fichier de donn=E9s ad=E9quat (A beatiful girl =96 gnuplot can plot any curve from a suitable datafile)= . I'm try not being too much of a moralist, and the human body doesn't=20 frighten me in any way. However, in the scientific field traditionally=20 being male oriented, unless one is willing to put a picture of a buff=20 stud with his dangly parts hanging out, I'd call this one sexist. Dan |
|
From: Lars H. <lhe...@us...> - 2004-12-07 17:53:54
|
Petr Mikulik writes: > I have posted this message several times already, but no one responded. Who > is the maintainer of www.gnuplot.info??? > > FWD: > Mirroring of gnuplot.sf.net to www.gnuplot.info does not work -- cf. pages > from October/November to those of May. > > Who is maintaining www.gnuplot.info? > Could he restart the mirroring? I have forwarded your mail to Clark Gaylord. |
|
From: Ethan M. <merritt@u.washington.edu> - 2004-12-07 17:47:47
|
On Tuesday 07 December 2004 09:34 am, Petr Mikulik wrote: > > > > Again, since wx transmogrifies into a native app on each > > platform, the same option would still be available for > > term=wx on a Win32/64 box. What is this "term=wx"; is that an out-of-tree gnuplot driver, or something else entirely? > > If *nix also has high-speed > > memory mapped file options, I wonder if this mode might > > be implemented more generally in the Gnuplot core. In most unix/linux systems *all* files are cached in memory to the extent possible. Or do you mean that rather than reading from a real file, you want gnuplot to read from a shared-memory area? That would be possible, but probably unnecessary. You could achieve much the same thing with no change to existing code by using a named pipe rather than a file. I think there's a Python-based demo on the web site that provides an example of this. -- Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center Mailstop 357742 University of Washington, Seattle, WA 98195 |
|
From: Petr M. <mi...@ph...> - 2004-12-07 17:37:30
|
I have posted this message several times already, but no one responded. Who is the maintainer of www.gnuplot.info??? FWD: Mirroring of gnuplot.sf.net to www.gnuplot.info does not work -- cf. pages from October/November to those of May. Who is maintaining www.gnuplot.info? Could he restart the mirroring? --- PM |
|
From: Petr M. <mi...@ph...> - 2004-12-07 17:35:12
|
> Recalling old version of "embedded" Win32 Gnuplot engine > plotting 500 random points, directly from memory-mapped > file, refreshing an MFC CView 100 times a second, on a > dual 733 MHz PIII... Gnuplot's "oscilloscope" mode ? > > Again, since wx transmogrifies into a native app on each > platform, the same option would still be available for > term=wx on a Win32/64 box. If *nix also has high-speed > memory mapped file options, I wonder if this mode might > be implemented more generally in the Gnuplot core. If you have a demo of your approach, it may be worth to be put into gnuplot's web site. --- PM |
|
From: Petr M. <mi...@ph...> - 2004-12-07 08:57:31
|
> > (*) Quadrangles may take a lot of memory. I propose to change double to
> > float (should probably happen also for gpdPoint structure).
> >
> > typedef struct {
> > double gray;
> > double z; /* maximal z value after rotation to graph coordinate system
> > */
> > gpdPoint corners[4];
> > gpiPoint icorners[4]; /* also if EXTENDED_COLOR_SPECS is not defined */
> > } quadrangle;
>
> Please, if you do that, respect prior art and use the existing type
> 'coordval' for that. That's what this type was designed for: it's
> defined as double on platforms that can afford it, and float elsewhere.
IMHO, gnuplot is using too much memory for images and surfaces -- or, in
other words, it can work with large images, like >=512^2 pts, but it
suffers. I would prefer not to use double if float is sufficient, as in this
case.
The above structure is 64 B for double, and 40 B for float.
For an image of 512^2 it would save 6 MB.
Well, we can always recompile gnuplot for using float instead of double. I
do sometimes.
---
PM
|
|
From: Petr M. <mi...@ph...> - 2004-12-07 08:37:26
|
> > set pm3d depth > > splot 'whale.dat' with pm3d > > actually here it works fine. I guess you're missing > > set pm3d at s explicit Yes, now it works fine. > I guess I've to update the patch to work also with implicit surface > coloring. That would be nice. --- PM |
|
From: Johannes Z. <joh...@ze...> - 2004-12-06 22:36:32
|
On Mon, Dec 06, 2004 at 06:48:16PM +0100, Petr Mikulik wrote:
> (*) The ordering works with the torus example. But then I have tried this
> demo:
>
> set pm3d depth
> splot 'whale.dat' with pm3d
actually here it works fine. I guess you're missing
set pm3d at s explicit
I guess I've to update the patch to work also with implicit surface
coloring.
--
Johannes
|
|
From: Hans-Bernhard B. <br...@ph...> - 2004-12-06 20:57:55
|
Petr Mikulik wrote:
> (*) The ordering works with the torus example. But then I have tried this
> demo:
>
> set pm3d depth
> splot 'whale.dat' with pm3d
>
> but it does not do the ordering. What's wrong?
Probably that Johannes didn't think about multi-mesh and multi-function
plots. Hidden surface removal can't really be done on individual
surfaces --- you *have* to do it for the entire display. There's a
reason 'set hidden3d' is a global setting, and its implementation
intermixed all through the 3D graphics output routines.
Which brings me to a suggestion: this new depth-sorting feature may have
to be re-organized from scratch, and moved to be controlled by 'set
hidden3d'. I.e. it'll become the hidden3d mode of pm3d (rather than
what currently sails under than option name in 'set pm3d', which is
something entirely different).
> (*) The option "set pm3d ... depth" should have also "... nodepth" variant
> to switch this feature off.
From what I understood, 'depthsorting' is an exclusive alternative to
'scans{forward|backward|default}', so wouldn't 'scansdefault' do that
already?
> (*) Quadrangles may take a lot of memory. I propose to change double to
> float (should probably happen also for gpdPoint structure).
>
> typedef struct {
> double gray;
> double z; /* maximal z value after rotation to graph coordinate system
> */
> gpdPoint corners[4];
> gpiPoint icorners[4]; /* also if EXTENDED_COLOR_SPECS is not defined */
> } quadrangle;
Please, if you do that, respect prior art and use the existing type
'coordval' for that. That's what this type was designed for: it's
defined as double on platforms that can afford it, and float elsewhere.
|
|
From: Petr M. <mi...@ph...> - 2004-12-06 17:48:27
|
(*) The ordering works with the torus example. But then I have tried this
demo:
set pm3d depth
splot 'whale.dat' with pm3d
but it does not do the ordering. What's wrong?
(*) The option "set pm3d ... depth" should have also "... nodepth" variant
to switch this feature off.
(*) Quadrangles may take a lot of memory. I propose to change double to
float (should probably happen also for gpdPoint structure).
typedef struct {
double gray;
double z; /* maximal z value after rotation to graph coordinate system
*/
gpdPoint corners[4];
gpiPoint icorners[4]; /* also if EXTENDED_COLOR_SPECS is not defined */
} quadrangle;
---
PM
|
|
From: Daniel J S. <dan...@ie...> - 2004-12-06 04:56:24
|
Hans-Bernhard Broeker wrote: > Reminder to all: we're not even fully up to ANSI/ISO C89 yet. Which > means: no C99 nor C++ specialities are allowed in gnuplot's source > (yes, Petr, that does mean no // style comments, either...). Hey! Petr is the one who always catches the // I put in code. (Since there are supposed to be no // in the code, I use the double backslash to temporarily comment out lines of code... then forget to clean.) :-) |
|
From: Daniel J S. <dan...@ie...> - 2004-12-06 04:47:17
|
Daniel J Sebald wrote: > Daniel J Sebald wrote: > >> set key ... background rgb (0.3, 0.2, 0.57) > > > > Does this "rgb (0.3, 0.2, 0.57)" run the risk of being confused as a > user-defined function? Hans' may have just answered this: > gnuplot> splot using (x):(y):f(x,y):color(x,y) > > <> Good thinging, in principle. Except may not be 100% correct. Some daring young fella *might* have gone ahead and defined himself a function named 'using' ;-) |
|
From: Daniel J S. <dan...@ie...> - 2004-12-06 04:16:20
|
Daniel J Sebald wrote: > set key ... background rgb (0.3, 0.2, 0.57) Does this "rgb (0.3, 0.2, 0.57)" run the risk of being confused as a user-defined function? Dan |
|
From: Daniel J S. <dan...@ie...> - 2004-12-06 03:59:00
|
Petr Mikulik wrote:
>>I've been wondering about plot background colors, too. I often see
>>plots with slightly off-white backgrounds. There is the X11 background
>>color, but nothing for controlling background color for, say, png or
>>PostScript. I know it has little to do with the "scientific" leanings
>>of gnuplot. It would require something like "set background" (whole
>>area including axes and labels), "set plotground" (area only inside the
>>axes). This might then require some color such as "none" or "clear",
>>which have obvious meanings in terminals like PostScript.
>>
>>
>
>Yet another background is that of the graph (easy for 2D and 'view map',
>more intriguing for 3D), and for the key.
>
>What about some new syntax for that?
>
>set key ... background rgb "gray10"
>set border ... background rgb "gray10"
>set size ... background rgb "cyan"
>
>or
>
>set style background {key | border | graph | paper} .... ?
>
>
>
(I was out of town for a bit...) Either of these would be fine. Or
does your "or" mean both methods should be implemented?
This doesn't seem like a difficult thing to add. It wouldn't be
something I could get around to for a while. Rather than letting this
proposed syntax get lost in the discussion list, maybe it would be a
good idea to put this under a patch or something in SourceForge. There
wouldn't be an actual patch there just yet, unfortunately, but it would
be a reminder for later? Should we do that?
For the 3D interpretation, how about just coloring the x-y plane
portion? Another alternative might be the back three sides of a 3-space
cube, but I don't know if that would have an appealing look.
Individually controlling plane colors?... that's over doing it in my
opinion.
...
With the rgb color format. Those are fine. Also, I added a tuple
format for the binary data options, to represent points in 2-space or
3-space. For example, (1.5,3.5) or (4.5, 3.3, 2.2). Could those be
used in other places? E.g.,
set key ... background rgb (0.3, 0.2, 0.57)
[Writing this just now makes it seem better in my mind than in type.]
If so, maybe the tuple code could be made part of the parser. I'm not
strongly advocating it, just tossing it out to the list.
Dan
|
|
From: Johannes Z. <joh...@ze...> - 2004-12-03 15:22:48
|
On Thu, Dec 02, 2004 at 12:36:39PM -0800, Ethan Merritt wrote:
> On Thursday 02 December 2004 09:27 am, Johannes Zellner wrote:
> >
> > I just thought that coloring parametric surface plots according to the
> > computed z-Value is not reasonable or obvious at all.
>
> I agree.
> Then again, I have never needed to plot such a surface at all,
> so maybe I am failing to imagine a reasonable use.
>
> > It would be
> > reasonable to color it according to any function which depends on u and
> > v (the parametric variables).
>
> Yes, that sounds much more reasonable. It gives you the same sort
> of "4th dimension" that is available for plotting data from a file.
>
> > gnuplot> unset parametric
> > gnuplot> splot f(x, y), color(x, y) w pm3d
> >
> > But this time, the specification is ambigous.
>
> I don't like the use of commas at all.
> Any syntax that uses commas to mean more than one thing
> is intrinsically ambiguous.
> By analogy to the existing syntax for data files,
> I think the above should instead be
>
> gnuplot> splot using (x):(y):f(x,y):color(x,y)
>
> which it may or may not be possible to shorten to
>
> gnuplot> splot using f(x,y):color(x,y)
>
> > Introducing an option which forces function plots to have a color
> > function would solve the ambiguity.
and again what about:
gnuplot> splot u, v, u * v w pm3d [at s] [function color(u, v)]
the options after pm3d beeing optional? -- The [at s] option is already
present, so why not another option which specifies the color function?
This way it would be just like any style option, where you specify
options to "styles":
w lines lt 3 pt 1
w pm3d function color(u, v)
What's the difference, in principle?
HBB: would that overload the syntax too much?
And it would be backward compatible. And it's /EASY/ to implement (I'd
just a look ...)
--
Johannes
|
|
From: Hans-Bernhard B. <br...@ph...> - 2004-12-03 13:32:40
|
Shigeharu TAKENO wrote: > double gray = colorspec->value; > + int new_color; > > if (colorspec->type != TC_FRAC) > return; > > - int new_color = (gray <= 0) ? 0 : (int)(gray * sm_palette.colors); > + new_color = (gray <= 0) ? 0 : (int)(gray * sm_palette.colors); Thanks for spotting this. I'm checking in that fix right away. Reminder to all: we're not even fully up to ANSI/ISO C89 yet. Which means: no C99 nor C++ specialities are allowed in gnuplot's source (yes, Petr, that does mean no // style comments, either...). People using GCC version 3 or higher may have to configure with the appropriate CFLAGS set to disallow C99-isms like the above from creeping into the CVS. |
|
From: Shigeharu T. <sh...@ie...> - 2004-12-03 12:44:17
|
shige 12/03 2004 ---------------- I compiled current CVS version of gnuplot on OS: Solaris 2.6 Compiler: gcc-2.95.3 But the compile of term/fig.trm (rev. 1.47) is failed. The following patch fixes it. ----- From here ----- --- term/fig.trm.ORG Fri Dec 3 19:53:18 2004 +++ term/fig.trm Fri Dec 3 20:47:57 2004 @@ -1107,11 +1107,12 @@ TERM_PUBLIC void FIG_set_color(t_colorspec *colorspec) { double gray = colorspec->value; + int new_color; if (colorspec->type != TC_FRAC) return; - int new_color = (gray <= 0) ? 0 : (int)(gray * sm_palette.colors); + new_color = (gray <= 0) ? 0 : (int)(gray * sm_palette.colors); if (new_color >= FIG_palette_size) new_color = FIG_palette_size - 1; if (FIG_palette_set == FALSE) { ----- To here ----- +========================================================+ Shigeharu TAKENO NIigata Institute of Technology kashiwazaki,Niigata 945-1195 JAPAN sh...@ie... TEL(&FAX): +81-257-22-8161 +========================================================+ |
|
From: Ethan M. <merritt@u.washington.edu> - 2004-12-02 21:38:25
|
On Thursday 02 December 2004 12:44 pm, Hans-Bernhard Broeker wrote: > > gnuplot> splot using (x):(y):f(x,y):color(x,y) > > > it will not break existing scripts. > > may not be 100% correct. Some daring young fella *might* have gone ahead > and defined himself a function named 'using' ;-) Good point ;-) More likely, though, he tried to 'splot u(x)' which could still run aground on the obvious implementation if almost_equals(c_token, "u$sing") So there is a real concern hiding in there. -- 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-12-02 20:44:51
|
On Thu, 2 Dec 2004, Ethan Merritt wrote: > On Thursday 02 December 2004 09:27 am, Johannes Zellner wrote: > > > > I just thought that coloring parametric surface plots according to the > > computed z-Value is not reasonable or obvious at all. > > I agree. > Then again, I have never needed to plot such a surface at all, > so maybe I am failing to imagine a reasonable use. Oh, Johannes is just setting out on a mission to beat Mathematica in the game of "making glorious pictures of maths". No big deal, piece of cake actually ;-> > > But this time, the specification is ambigous. > > I don't like the use of commas at all. > Any syntax that uses commas to mean more than one thing > is intrinsically ambiguous. > By analogy to the existing syntax for data files, > I think the above should instead be > > gnuplot> splot using (x):(y):f(x,y):color(x,y) Good thinging, in principle. Except > Since the syntax "splot using ..." is not currently valid, it will not > break existing scripts. may not be 100% correct. Some daring young fella *might* have gone ahead and defined himself a function named 'using' ;-) -- Hans-Bernhard Broeker (br...@ph...) Even if all the snow were burnt, ashes would remain. |