<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 2860: gnuplot 6.0.4 ignores unset warnings</title><link href="https://sourceforge.net/p/gnuplot/bugs/2860/" rel="alternate"/><link href="https://sourceforge.net/p/gnuplot/bugs/2860/feed.atom" rel="self"/><id>https://sourceforge.net/p/gnuplot/bugs/2860/</id><updated>2026-03-13T19:29:01.566000Z</updated><subtitle>Recent changes to 2860: gnuplot 6.0.4 ignores unset warnings</subtitle><entry><title>#2860 gnuplot 6.0.4 ignores unset warnings</title><link href="https://sourceforge.net/p/gnuplot/bugs/2860/?limit=25#125f" rel="alternate"/><published>2026-03-13T19:29:01.566000Z</published><updated>2026-03-13T19:29:01.566000Z</updated><author><name>Ethan Merritt</name><uri>https://sourceforge.net/u/sfeam/</uri></author><id>https://sourceforge.net11004a738db03bb0e31a4a795f50e4d4f0b9a221</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; pending-fixed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Priority&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#2860 gnuplot 6.0.4 ignores unset warnings</title><link href="https://sourceforge.net/p/gnuplot/bugs/2860/?limit=25#026c/159a" rel="alternate"/><published>2026-03-13T19:28:39.140000Z</published><updated>2026-03-13T19:28:39.140000Z</updated><author><name>Ethan Merritt</name><uri>https://sourceforge.net/u/sfeam/</uri></author><id>https://sourceforge.net1bac93baa9fc6a583ff39257df54dcd3fbf5aa41</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks.  There's a fix already in 6.1 and queued for 6.0.next&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#2860 gnuplot 6.0.4 ignores unset warnings</title><link href="https://sourceforge.net/p/gnuplot/bugs/2860/?limit=25#026c" rel="alternate"/><published>2026-03-13T19:05:22.621000Z</published><updated>2026-03-13T19:05:22.621000Z</updated><author><name>MBoehme</name><uri>https://sourceforge.net/u/mboehme/</uri></author><id>https://sourceforge.net5bebbcc3166ab1c76b91b187632eb36844230d8f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I think I figured it out, here would a patch:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="gh"&gt;diff -Naur gnuplot-6.0.4_orig/src/axis.c gnuplot-6.0.4_patched/src/axis.c&lt;/span&gt;
&lt;span class="gd"&gt;--- gnuplot-6.0.4_orig/src/axis.c       2025-11-30 23:15:20.000000000 +0100&lt;/span&gt;
&lt;span class="gi"&gt;+++ gnuplot-6.0.4_patched/src/axis.c    2026-03-13 20:03:47.739548000 +0100&lt;/span&gt;
&lt;span class="gu"&gt;@@ -433,17 +433,21 @@&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;           double widen = (dmax == 0.0) ?
&lt;span class="w"&gt; &lt;/span&gt;               FIXUP_RANGE__WIDEN_ZERO_ABS
&lt;span class="w"&gt; &lt;/span&gt;               : FIXUP_RANGE__WIDEN_NONZERO_REL * fabs(dmax);

&lt;span class="gd"&gt;-           if (!(axis == FIRST_Z_AXIS &amp;amp;&amp;amp; !mesg)) /* set view map */&lt;/span&gt;
&lt;span class="gd"&gt;-               fprintf(stderr, "Warning: empty %s range [%g:%g], ",&lt;/span&gt;
&lt;span class="gd"&gt;-                   axis_name(axis), dmin, dmax);&lt;/span&gt;
&lt;span class="gi"&gt;+            if (!suppress_warnings) {&lt;/span&gt;
&lt;span class="gi"&gt;+               if (!(axis == FIRST_Z_AXIS &amp;amp;&amp;amp; !mesg)) /* set view map */&lt;/span&gt;
&lt;span class="gi"&gt;+                   fprintf(stderr, "Warning: empty %s range [%g:%g], ",&lt;/span&gt;
&lt;span class="gi"&gt;+                       axis_name(axis), dmin, dmax);&lt;/span&gt;
&lt;span class="gi"&gt;+            }&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;           /* HBB 20010525: correctly handle single-ended autoscaling */
&lt;span class="w"&gt; &lt;/span&gt;           if ((this_axis-&amp;gt;autoscale &amp;amp; AUTOSCALE_MIN) || inside_zoom())
&lt;span class="w"&gt; &lt;/span&gt;               this_axis-&amp;gt;min -= widen;
&lt;span class="w"&gt; &lt;/span&gt;           if ((this_axis-&amp;gt;autoscale &amp;amp; AUTOSCALE_MAX) || inside_zoom())
&lt;span class="w"&gt; &lt;/span&gt;               this_axis-&amp;gt;max += widen;
&lt;span class="gd"&gt;-           if (!(axis == FIRST_Z_AXIS &amp;amp;&amp;amp; !mesg)) /* set view map */&lt;/span&gt;
&lt;span class="gd"&gt;-               fprintf(stderr, "adjusting to [%g:%g]\n",&lt;/span&gt;
&lt;span class="gd"&gt;-                   this_axis-&amp;gt;min, this_axis-&amp;gt;max);&lt;/span&gt;
&lt;span class="gi"&gt;+            if (!suppress_warnings) {&lt;/span&gt;
&lt;span class="gi"&gt;+               if (!(axis == FIRST_Z_AXIS &amp;amp;&amp;amp; !mesg)) /* set view map */&lt;/span&gt;
&lt;span class="gi"&gt;+                   fprintf(stderr, "adjusting to [%g:%g]\n",&lt;/span&gt;
&lt;span class="gi"&gt;+                       this_axis-&amp;gt;min, this_axis-&amp;gt;max);&lt;/span&gt;
&lt;span class="gi"&gt;+            }&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;       } else {
&lt;span class="w"&gt; &lt;/span&gt;           /* user has explicitly set the range (to something empty) */
&lt;span class="w"&gt; &lt;/span&gt;           int_error(NO_CARET, "Can't plot with an empty %s range!",
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</summary></entry><entry><title>#2860 gnuplot 6.0.4 ignores unset warnings</title><link href="https://sourceforge.net/p/gnuplot/bugs/2860/?limit=25#8e30" rel="alternate"/><published>2026-03-11T18:25:50.066000Z</published><updated>2026-03-11T18:25:50.066000Z</updated><author><name>Ethan Merritt</name><uri>https://sourceforge.net/u/sfeam/</uri></author><id>https://sourceforge.net3c11cd11d2e5824bd971779a3e78eb9d640bf04e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Most, but not all, of the warnings issued by gnuplot were sent by a shared subroutine.  The "unset warnings" command silences that shared mechanism.  That leaves a few &lt;span&gt;[a quick-and-dirty "grep" of the source tree finds about thirty]&lt;/span&gt; places in the source code that print the warning directly rather than going through the shared subroutine.  Some of these should probably never by silenced, like the ones from the &lt;code&gt;stats&lt;/code&gt; and &lt;code&gt;fit&lt;/code&gt; commands that tell you the calculation was invalid or highly unreliable.  Others, like the one you point to, could probably be changed to use the shared mechanism. Someone would have to go through the code and evaluate each site to see which case applies.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>gnuplot 6.0.4 ignores unset warnings</title><link href="https://sourceforge.net/p/gnuplot/bugs/2860/" rel="alternate"/><published>2026-03-11T07:07:21.411000Z</published><updated>2026-03-11T07:07:21.411000Z</updated><author><name>MBoehme</name><uri>https://sourceforge.net/u/mboehme/</uri></author><id>https://sourceforge.net509d47675fe5b37a8933ef3dbc918397eef4e2b5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;As I understood "unset warnings" should suppress warnings. But it looks like this is not working with gnuplot 6.0.4&lt;/p&gt;
&lt;p&gt;Here is my example:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;$&lt;span class="w"&gt; &lt;/span&gt;cat&lt;span class="w"&gt; &lt;/span&gt;HitsGame_Uzbekistan.gp
&lt;span class="nb"&gt;unset&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;warnings
&lt;span class="nb"&gt;set&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;encoding&lt;span class="w"&gt; &lt;/span&gt;utf8
&lt;span class="nb"&gt;set&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;title&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Top 50 user race for longest hit kilometers - Uzbekistan - chart generated at 2026-03-11 02:02:54"&lt;/span&gt;
&lt;span class="nb"&gt;set&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;terminal&lt;span class="w"&gt; &lt;/span&gt;pngcairo&lt;span class="w"&gt; &lt;/span&gt;size&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1400&lt;/span&gt;,400&lt;span class="w"&gt; &lt;/span&gt;enhanced&lt;span class="w"&gt; &lt;/span&gt;truecolor&lt;span class="w"&gt; &lt;/span&gt;font&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;'LiberationSans-Regular,9'&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;background&lt;span class="w"&gt; &lt;/span&gt;rgb&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"#f0f0f0"&lt;/span&gt;
&lt;span class="nb"&gt;set&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;auto&lt;span class="w"&gt; &lt;/span&gt;x
&lt;span class="nb"&gt;unset&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;xtics
&lt;span class="nb"&gt;set&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;output&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"HitsGame_Uzbekistan.png"&lt;/span&gt;
&lt;span class="nb"&gt;set&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;xtics&lt;span class="w"&gt; &lt;/span&gt;nomirror&lt;span class="w"&gt; &lt;/span&gt;rotate&lt;span class="w"&gt; &lt;/span&gt;by&lt;span class="w"&gt; &lt;/span&gt;-45&lt;span class="w"&gt; &lt;/span&gt;scale&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;
&lt;span class="nb"&gt;set&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;style&lt;span class="w"&gt; &lt;/span&gt;data&lt;span class="w"&gt; &lt;/span&gt;histogram
&lt;span class="nb"&gt;set&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;style&lt;span class="w"&gt; &lt;/span&gt;fill&lt;span class="w"&gt; &lt;/span&gt;solid&lt;span class="w"&gt; &lt;/span&gt;border&lt;span class="w"&gt; &lt;/span&gt;-1
&lt;span class="nb"&gt;set&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;datafile&lt;span class="w"&gt; &lt;/span&gt;separator&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;','&lt;/span&gt;
&lt;span class="nb"&gt;set&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;key&lt;span class="w"&gt; &lt;/span&gt;box
&lt;span class="nb"&gt;set&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;grid&lt;span class="w"&gt; &lt;/span&gt;ytics
&lt;span class="nb"&gt;set&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;key&lt;span class="w"&gt; &lt;/span&gt;width&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;
plot&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;'HitsGame_Uzbekistan.dat'&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;u&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;2&lt;/span&gt;:xtic&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;title&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;'longest valid hit'&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;lc&lt;span class="w"&gt; &lt;/span&gt;rgb&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;'#0000FF'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;data file:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;$&lt;span class="w"&gt; &lt;/span&gt;cat&lt;span class="w"&gt; &lt;/span&gt;HitsGame_Uzbekistan.dat
&lt;span class="c1"&gt;#,longest valid hit&lt;/span&gt;
Laurentina,4253
Moise,4253
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;I still get a warning:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;$&lt;span class="w"&gt; &lt;/span&gt;gnuplot&lt;span class="w"&gt; &lt;/span&gt;-p&lt;span class="w"&gt; &lt;/span&gt;HitsGame_Uzbekistan.gp
Warning:&lt;span class="w"&gt; &lt;/span&gt;empty&lt;span class="w"&gt; &lt;/span&gt;y&lt;span class="w"&gt; &lt;/span&gt;range&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="m"&gt;4253&lt;/span&gt;:4253&lt;span class="o"&gt;]&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;adjusting&lt;span class="w"&gt; &lt;/span&gt;to&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="m"&gt;4210&lt;/span&gt;.47:4295.53&lt;span class="o"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The generated bar chart is ok.&lt;/p&gt;
&lt;p&gt;Does anyone has an idea. Or I'm just misunderstanding the "unset warnings" option?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>gnuplot 6.0.4 ignores unset warnings</title><link href="https://sourceforge.net/p/gnuplot/bugs/2860/" rel="alternate"/><published>2026-03-11T07:07:21.411000Z</published><updated>2026-03-11T07:07:21.411000Z</updated><author><name>MBoehme</name><uri>https://sourceforge.net/u/mboehme/</uri></author><id>https://sourceforge.net8312d7c87bc1ffb221141238c38c492b9db23b3b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 2860 has been modified: gnuplot 6.0.4 ignores unset warnings&lt;br/&gt;
Edited By: Ethan Merritt (sfeam)&lt;br/&gt;
Status updated: 'open' =&amp;gt; 'pending-fixed'&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>