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: sfeam (E. Merritt) <eam...@gm...> - 2013-03-10 06:15:01
|
Anyone know of an unresolved 4.6 bug that should be fixed before
releasing 4.6.2? If not, I plan to put the usual source tarball
on SourceForge later this week.
Any volunteers to prepare a Windows install package?
Ethan
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
NEWS file for 4.6.2
New features, changes and fixes since gnuplot version 4.6.1
===========================================================
* NEW Allow the "bind" command to attach a user command to mouse button 1
* NEW hidden3d can handle occlusion by pm3d surfaces (as in hidden2.dem)
* NEW -d option from command line skips ~/.gnuplot initialization file
* NEW plot '<&N' plots from file descriptor N opened during shell invocation
* CHANGE "unset term" restores original default terminal (GNUTERM)
* CHANGE ignore extraneous trailing comma in a plot command
* CHANGE special case code for faster input of uniform binary matrix data
* CHANGE test for whether the session should be interactive or non-interactive
* CHANGE draw zeroaxis lines in the same layer as the grid and border
* CHANGE allow 2-column-only variant of yerrorbars (implicit x coord)
* FIX aquaterm rendering of rgbimage plot type
* FIX gd terminal fontsize change requested by set_font(",newsize")
* FIX qt terminal font metrics
* FIX qt terminal mouse tracking and resize events for persistent plots
* FIX x11 terminal sometimes failed to reset the line width
* FIX -persist mode continued mousing of 3D "set view map" plots
* FIX reset parsing state after error in parsing string input
* FIX buffer overflow from very long tic label formats
* FIX broken handling of formatted input via 'using 1:2 "<format>"'
* FIX exit current command file from inside bracketed clause
* FIX estimation of space required for rotated x-axis tic labels
* FIX partial axis ranges (e.g. xrange [*:MAX]) when refreshing volatile data
* FIX -persist option broken if configured without x11
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
From: sfeam (E. Merritt) <eam...@gm...> - 2013-03-10 01:21:27
|
On Thursday, 07 March 2013, Dima Kogan wrote: > Hi. > > Recently Ethan committed some fixes to make autoranging refreshes work > for volatile data in commit titled > > Partial axis ranges, e.g. [*:MAX] or [MIN:*], were not being handled > correctly when refreshing volatile data. > > Here are two patches to fix some more related issues. > The first patch applies similar logic to 3d plots. > The second patch handles the case of degenerate ranges. Applied. Thanks. Ethan |
|
From: sfeam (E. Merritt) <eam...@gm...> - 2013-03-09 21:14:14
|
On Friday, 08 March 2013, Dima Kogan wrote: > I'm attaching a patch to the x11 terminal to reduce the number of > unneeded replot actions that happen with some window managers. > > Some window managers (notion for instance) produce several > ConfigureNotify events when a window is created. Some of these were > mis-interpreted by gnuplot as a window manager refusing gnuplot's > suggested resize, which resulted in extra, unneeded replot actions. This > patch waits 0.1s for extra ConfigureNotify events before deciding that a > resize was rejected. If a new ConfigureNotify is seen, we save a replot > at the cost of 0.1s. If not, we proceed as before. OK. Added to CVS for 4.7 Ethan |
|
From: Jonathan T. <jt...@as...> - 2013-03-09 20:26:37
|
On Wed, 6 Mar 2013, Mojca Miklavec wrote:
> This would be problematic. Many people simply run the same plotting
> commands/scripts multiple times (either during development/improvement
> of graphs or to display measurement results for different data),
> *expecting* the files to be overwritten. I'm not using SVG, but for
> any format that I'm using, I would be annoyed if I would have to
> confirm overwriting files.
*Very* emphatic agreement!
--
-- "Jonathan Thornburg [remove -animal to reply]" <jt...@as...-zebra.e$
Dept of Astronomy & IUCSS, Indiana University, Bloomington, Indiana, USA
on sabbatical in Canada starting August 2012
"Washing one's hands of the conflict between the powerful and the
powerless means to side with the powerful, not to be neutral."
-- quote by Freire / poster by Oxfam
|
|
From: Dima K. <gn...@di...> - 2013-03-09 07:45:04
|
I'm attaching a patch to the x11 terminal to reduce the number of unneeded replot actions that happen with some window managers. Some window managers (notion for instance) produce several ConfigureNotify events when a window is created. Some of these were mis-interpreted by gnuplot as a window manager refusing gnuplot's suggested resize, which resulted in extra, unneeded replot actions. This patch waits 0.1s for extra ConfigureNotify events before deciding that a resize was rejected. If a new ConfigureNotify is seen, we save a replot at the cost of 0.1s. If not, we proceed as before. |
|
From: Carl M. <mi...@ph...> - 2013-03-08 20:57:30
|
Hi, A couple of years ago (March 2011) I submitted a very small patch against fit.c to improve the way gnuplot's fit function works in cases where fit parameters vary in size dramatically. The problem is that if you are doing fits where some parameters are, say 10^7, but others are 10^-7, the fit routine basically collapses. The patch does a trivial rescaling of the parameters by their initial guess values before the meat of the fitting routine is called. With this rescaling these cases don't cause any problems. The patch and a description are here: http://sourceforge.net/p/gnuplot/patches/507/ and this still applies cleanly to gnuplot 4.6. After applying this patch, most of the examples in fit.dem actually converge in fewer iterations than without it. Is there any hope of having this tiny patch (it touches a total of 20 lines) accepted? Thanks, Carl |
|
From: Dima K. <gn...@di...> - 2013-03-07 22:59:49
|
Hi. Recently Ethan committed some fixes to make autoranging refreshes work for volatile data in commit titled Partial axis ranges, e.g. [*:MAX] or [MIN:*], were not being handled correctly when refreshing volatile data. Here are two patches to fix some more related issues. The first patch applies similar logic to 3d plots. A test script to show the behavior being fixed: set zrange [:3.5] splot '-' using 1:1:1 with linespoints ps 3 pt 7 0 1 2 3 4 5 e refresh The second patch handles the case of degenerate ranges. Demo script for 2d plots: plot '-' with linespoints 0 1 0 2 refresh and 3d plots: splot '-' with linespoints ps 3 pt 7 0 1 2 0 3 4 refresh |
|
From: Ethan A M. <sf...@us...> - 2013-03-07 19:52:43
|
On Thursday, March 07, 2013 11:41:44 am Dima Kogan wrote: > Hans-Bernhard Bröker <HBB...@t-...> writes: > > > On 06.03.2013 22:52, Dima Kogan wrote: > >> Hans-Bernhard Bröker <HBB...@t-...> writes: > > > >>> They can't be, because there is nu such thing as a parametric plot from > >>> a data file. Parametric mode is a property of function plots. > > > >> Hmmm. You're right; this doesn't make sense. In that case, should > >> gnuplot be plotting anything at all? Would it be more appropriate for it > >> to simply emit and error message and refuse to plot anything? > > > > What on earth should it do _that_ for? There's nothing wrong there. > > Having parametric mode and trange set while you doing a pure data plot > > is just _irrelevant_, but not wrong. > > In cases when the user is trying to do something that doesn't make sense > it's far better to throw an error (or warning) than to silently do the > wrong thing. I am now clear on why 'set parametric' is not connected to > plots from files, so I wouldn't benefit from an error message here, but > a new user may. That's all I was suggesting. There is not, and should not be, any warning for setting a parameter in advance of using it. E.g. there's nothing odd about a script that selects a palette but doesn't use it until several plots later. In general there's nothing odd about loading a file containing your preferred defaults even if only some of them apply to the plot you are about to make. Choosing a customized set of default ranges is simply an example of this. Ethan |
|
From: Dima K. <gn...@di...> - 2013-03-07 19:41:53
|
Hans-Bernhard Bröker <HBB...@t-...> writes: > On 06.03.2013 22:52, Dima Kogan wrote: >> Hans-Bernhard Bröker <HBB...@t-...> writes: > >>> They can't be, because there is nu such thing as a parametric plot from >>> a data file. Parametric mode is a property of function plots. > >> Hmmm. You're right; this doesn't make sense. In that case, should >> gnuplot be plotting anything at all? Would it be more appropriate for it >> to simply emit and error message and refuse to plot anything? > > What on earth should it do _that_ for? There's nothing wrong there. > Having parametric mode and trange set while you doing a pure data plot > is just _irrelevant_, but not wrong. In cases when the user is trying to do something that doesn't make sense it's far better to throw an error (or warning) than to silently do the wrong thing. I am now clear on why 'set parametric' is not connected to plots from files, so I wouldn't benefit from an error message here, but a new user may. That's all I was suggesting. dima |
|
From: Sylwester A. <sa...@ig...> - 2013-03-07 08:33:02
|
Dear All, On 07/03/13 06:46, Daniel J Sebald wrote: > On 03/06/2013 11:29 PM, sfeam (Ethan Merritt) wrote: >> On Wednesday, 06 March 2013, Sylwester Arabas wrote: > >>> P.S. Is there any way to force gnuplot not to use external png files but >>> instead draw the images pixel-by-pixel with svg rectangles as it was >>> done in older versions of gnuplot? >> >> Yes. >> plot 'foo' with image failsafe Thanks! Best, Sylwester -- http://www.igf.fuw.edu.pl/~slayoo/ |
|
From: Daniel J S. <dan...@ie...> - 2013-03-07 06:03:22
|
On 03/06/2013 05:50 PM, Sylwester Arabas wrote: > HTH, > Sylwester > > P.S. Is there any way to force gnuplot not to use external png files but > instead draw the images pixel-by-pixel with svg rectangles as it was > done in older versions of gnuplot? There may be something similar to what you are looking for, Sylwester. Browse these demos: http://gnuplot.sourceforge.net/demo_4.6/pm3d.html Dan |
|
From: Daniel J S. <dan...@ie...> - 2013-03-07 06:03:05
|
On 03/06/2013 11:29 PM, sfeam (Ethan Merritt) wrote: > On Wednesday, 06 March 2013, Sylwester Arabas wrote: >> P.S. Is there any way to force gnuplot not to use external png files but >> instead draw the images pixel-by-pixel with svg rectangles as it was >> done in older versions of gnuplot? > > Yes. > plot 'foo' with image failsafe I forgot about that. Similar end result, easier syntax. Dan |
|
From: sfeam (E. Merritt) <eam...@gm...> - 2013-03-07 05:29:18
|
On Wednesday, 06 March 2013, Sylwester Arabas wrote: > Hi, > > On 06/03/13 16:51, pl...@pi... wrote: > > On 03/06/13 15:22, Mojca Miklavec wrote: > >> On Wed, Mar 6, 2013 at 12:10 PM, Sylwester Arabas wrote: > >>> > >>> Then maybe issuing a warning before overwriting an existing png file > >>> would be a solution? > >> > >> This would be problematic. Many people simply run the same plotting > >> commands/scripts multiple times (either during development/improvement > >> of graphs or to display measurement results for different data), > >> *expecting* the files to be overwritten. I'm not using SVG, but for > >> any format that I'm using, I would be annoyed if I would have to > >> confirm overwriting files. > > Wouldn't you be annoyed if you "simply run the same plotting > commands/scripts multiple times" with different data and different > output file specified, but get the data from just the last plot in all > of the output files? :) Your complaint about incomplete documentation is reasonable. The svg terminal should give an explanation for the 'name' option similar to the one given by the canvas terminal. > Basically, anything you plot with "splot with image" on an svg terminal > silently damages all svg files in the current directory previously > plotted "with image". Unfair. Not really. You just have to give a unique name to each plot. See, for example, the image demo: http://gnuplot.sourceforge.net/demo_svg_4.7/image.html > P.S. Is there any way to force gnuplot not to use external png files but > instead draw the images pixel-by-pixel with svg rectangles as it was > done in older versions of gnuplot? Yes. plot 'foo' with image failsafe |
|
From: Sylwester A. <sa...@ig...> - 2013-03-06 23:50:44
|
Hi, On 06/03/13 16:51, pl...@pi... wrote: > On 03/06/13 15:22, Mojca Miklavec wrote: >> On Wed, Mar 6, 2013 at 12:10 PM, Sylwester Arabas wrote: >>> >>> Then maybe issuing a warning before overwriting an existing png file >>> would be a solution? >> >> This would be problematic. Many people simply run the same plotting >> commands/scripts multiple times (either during development/improvement >> of graphs or to display measurement results for different data), >> *expecting* the files to be overwritten. I'm not using SVG, but for >> any format that I'm using, I would be annoyed if I would have to >> confirm overwriting files. Wouldn't you be annoyed if you "simply run the same plotting commands/scripts multiple times" with different data and different output file specified, but get the data from just the last plot in all of the output files? :) $ cat full.gpi set term svg set palette negative set view map set output "full.svg" splot '-' matrix with image notitle 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 e $ cat half.gpi set term svg set palette negative set view map set output "half.svg" splot '-' matrix with image notitle 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 e $ gnuplot full.gpi $ gnuplot half.gpi Now both full.svg and half.svg contain the same image (half) even though the input data was different, and the output file was different! Basically, anything you plot with "splot with image" on an svg terminal silently damages all svg files in the current directory previously plotted "with image". Unfair. HTH, Sylwester P.S. Is there any way to force gnuplot not to use external png files but instead draw the images pixel-by-pixel with svg rectangles as it was done in older versions of gnuplot? -- http://www.igf.fuw.edu.pl/~slayoo/ |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2013-03-06 22:20:40
|
On 06.03.2013 22:52, Dima Kogan wrote: > Hans-Bernhard Bröker <HBB...@t-...> writes: >> They can't be, because there is nu such thing as a parametric plot from >> a data file. Parametric mode is a property of function plots. > Hmmm. You're right; this doesn't make sense. In that case, should > gnuplot be plotting anything at all? Would it be more appropriate for it > to simply emit and error message and refuse to plot anything? What on earth should it do _that_ for? There's nothing wrong there. Having parametric mode and trange set while you doing a pure data plot is just _irrelevant_, but not wrong. |
|
From: Dima K. <gn...@di...> - 2013-03-06 22:11:26
|
Hans-Bernhard Bröker <HBB...@t-...> writes: > On 06.03.2013 22:27, Dima Kogan wrote: > >> I'm observing that trange settings are ignored when making parametric >> plots from data files. > > They can't be, because there is nu such thing as a parametric plot from > a data file. Parametric mode is a property of function plots. Hmmm. You're right; this doesn't make sense. In that case, should gnuplot be plotting anything at all? Would it be more appropriate for it to simply emit and error message and refuse to plot anything? dima |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2013-03-06 21:42:44
|
On 06.03.2013 22:27, Dima Kogan wrote: > I'm observing that trange settings are ignored when making parametric > plots from data files. They can't be, because there is nu such thing as a parametric plot from a data file. Parametric mode is a property of function plots. > plot 'dat' > > with 'dat' containing > > 0 0 > 1 1 > 2 4 > 3 9 > 4 16 > 5 25 That file has two columns: one full of 'x' values, the other full of 'y' values. What on earth would the t range have to do with plotting it? > Here I see all the points being plotted, not limited at t=3, as I > expected. Your expectation is at odds with the meaning of the commands you're using. |
|
From: Dima K. <gn...@di...> - 2013-03-06 21:27:28
|
Hi. I'm observing that trange settings are ignored when making parametric plots from data files. This works as expected: set parametric set trange [-5:3] plot t,t*t I see a parabola with x=[-5..3] This is suprising, however: set parametric set trange [-5:3] plot 'dat' with 'dat' containing 0 0 1 1 2 4 3 9 4 16 5 25 Here I see all the points being plotted, not limited at t=3, as I expected. Is this intended behavior or a bug? If it's correct, then the documentation should be expanded a bit to mention this detail. Should I add this to the docs? dima |
|
From: <pl...@pi...> - 2013-03-06 17:04:20
|
On 03/06/13 15:22, Mojca Miklavec wrote: > On Wed, Mar 6, 2013 at 12:10 PM, Sylwester Arabas wrote: >> >> Then maybe issuing a warning before overwriting an existing png file >> would be a solution? > > This would be problematic. Many people simply run the same plotting > commands/scripts multiple times (either during development/improvement > of graphs or to display measurement results for different data), > *expecting* the files to be overwritten. I'm not using SVG, but for > any format that I'm using, I would be annoyed if I would have to > confirm overwriting files. > > Mojca > Agreed. No "are you sure" for God's sake. and... yes I am sure that I'm sure that I don't want to be asked. :) |
|
From: Mojca M. <moj...@gm...> - 2013-03-06 14:22:56
|
On Wed, Mar 6, 2013 at 12:10 PM, Sylwester Arabas wrote: > > Then maybe issuing a warning before overwriting an existing png file > would be a solution? This would be problematic. Many people simply run the same plotting commands/scripts multiple times (either during development/improvement of graphs or to display measurement results for different data), *expecting* the files to be overwritten. I'm not using SVG, but for any format that I'm using, I would be annoyed if I would have to confirm overwriting files. Mojca |
|
From: Sylwester A. <sa...@ig...> - 2013-03-06 11:10:17
|
Hi, On 06/03/13 11:51, Christoph Bersch wrote: > Am 06.03.2013 11:16, schrieb Sylwester Arabas: >> Also, why not make it a default behaviour? It's quite tricky to find out >> why you get same plots with different data :) > > the 'name' parameter is primarily used to name the plots in a svg file. > > If one would make this default behaviour (like it is done e.g. in lua > terminal), one must also take care to encode the URI of the image file > in the xlink:href part properly. Then maybe issuing a warning before overwriting an existing png file would be a solution? >> > I replaced the : by _ in the filename, because 'name' takes only >> > alphanumeric characters and _. (Don't know why) >> >> While gnuplot does warn about e.g. a dot in the value of "name", it in >> fact proceeds with creating the file correctly!: > > For me it does not (4.6.0 and CVS). I'm using 4.6 patchlevel 0 from the Debian 4.6.0-8 package. Best regards, Sylwester -- http://www.igf.fuw.edu.pl/~slayoo/ |
|
From: Christoph B. <us...@be...> - 2013-03-06 10:59:01
|
Hi, Am 06.03.2013 11:16, schrieb Sylwester Arabas: > > Also, why not make it a default behaviour? It's quite tricky to find out > why you get same plots with different data :) the 'name' parameter is primarily used to name the plots in a svg file. If one would make this default behaviour (like it is done e.g. in lua terminal), one must also take care to encode the URI of the image file in the xlink:href part properly. > > > I replaced the : by _ in the filename, because 'name' takes only > > alphanumeric characters and _. (Don't know why) > > While gnuplot does warn about e.g. a dot in the value of "name", it in > fact proceeds with creating the file correctly!: For me it does not (4.6.0 and CVS). Best regards, Christoph |
|
From: Sylwester A. <sa...@ig...> - 2013-03-06 10:16:34
|
Hi Christoph
On 06/03/13 09:47, Christoph Bersch wrote:
> Am 05.03.2013 22:04, schrieb Sylwester Arabas:
>> The problem is that both 21:55:23.svg and 21:55:26.svg include the same
>> gp_image_01.png file, while the plotted data could in principle be
>> different in the two svg files. Changing the prefix of the png file from
>> gp_image_ to something like 21:55:23.svg_image_ would fix the problem.
>
> you can use the 'name' option of the svg terminal:
Thanks a lot!
Perhaps it's worth discussing it in the help section in term/svg.trm.
Also, why not make it a default behaviour? It's quite tricky to find out
why you get same plots with different data :)
> I replaced the : by _ in the filename, because 'name' takes only
> alphanumeric characters and _. (Don't know why)
While gnuplot does warn about e.g. a dot in the value of "name", it in
fact proceeds with creating the file correctly!:
gnuplot> filename = 'figure_pc_tht_0.svg'
gnuplot> set term svg dynamic name filename
Terminal type set to 'svg'
^
name must contain only alphanumerics or _
...
gnuplot> !ls *.png
...
figure_pc_tht_0.svg_image_03.png
...
Best,
Sylwester
--
http://www.igf.fuw.edu.pl/~slayoo/
|
|
From: Christoph B. <us...@be...> - 2013-03-06 09:02:30
|
Hi,
Hi,
Am 05.03.2013 22:04, schrieb Sylwester Arabas:
>
> The problem is that both 21:55:23.svg and 21:55:26.svg include the same
> gp_image_01.png file, while the plotted data could in principle be
> different in the two svg files. Changing the prefix of the png file from
> gp_image_ to something like 21:55:23.svg_image_ would fix the problem.
you can use the 'name' option of the svg terminal:
filename = system("date +%X | tr : _")
set term svg name filename
set view map
set output filename.".svg"
splot '-' matrix with image notitle
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 1 1 0 0 0 2 0 0 0 3 3 0 0
0 0 1 0 1 0 2 0 2 0 3 0 3 0 0
0 0 1 1 0 0 2 0 2 0 3 0 0 0 0
0 0 1 0 1 0 2 0 2 0 3 0 0 0 0
0 0 1 1 0 0 2 0 2 0 0 3 3 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
e
I replaced the : by _ in the filename, because 'name' takes only
alphanumeric characters and _. (Don't know why)
Christoph
|
|
From: Sylwester A. <sa...@ig...> - 2013-03-05 21:04:41
|
Hello,
The commands below exemplify a buggy behaviour of the svg terminal:
$ cat bug.gpi
set term svg
set view map
set output system("date +%X").".svg"
splot '-' matrix with image notitle
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 1 1 0 0 0 2 0 0 0 3 3 0 0
0 0 1 0 1 0 2 0 2 0 3 0 3 0 0
0 0 1 1 0 0 2 0 2 0 3 0 0 0 0
0 0 1 0 1 0 2 0 2 0 3 0 0 0 0
0 0 1 1 0 0 2 0 2 0 0 3 3 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
e
$ gnuplot bug.gpi
$ gnuplot bug.gpi
$ ls -1 *
21:55:23.svg
21:55:26.svg
bug.gpi
gp_image_01.png
The problem is that both 21:55:23.svg and 21:55:26.svg include the same
gp_image_01.png file, while the plotted data could in principle be
different in the two svg files. Changing the prefix of the png file from
gp_image_ to something like 21:55:23.svg_image_ would fix the problem.
HTH,
Thanks,
Sylwester
--
http://www.igf.fuw.edu.pl/~slayoo/
|