<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 2844: 6.0.3: The `dt (n1,n2)` syntax makes it hard to use programmatically defined dashtype</title><link>https://sourceforge.net/p/gnuplot/bugs/2844/</link><description>Recent changes to 2844: 6.0.3: The `dt (n1,n2)` syntax makes it hard to use programmatically defined dashtype</description><atom:link href="https://sourceforge.net/p/gnuplot/bugs/2844/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 18 Dec 2025 00:44:08 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gnuplot/bugs/2844/feed.rss" rel="self" type="application/rss+xml"/><item><title>#2844 6.0.3: The `dt (n1,n2)` syntax makes it hard to use programmatically defined dashtype</title><link>https://sourceforge.net/p/gnuplot/bugs/2844/?limit=25#3112</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ethan Merritt</dc:creator><pubDate>Thu, 18 Dec 2025 00:44:08 -0000</pubDate><guid>https://sourceforge.netfbfda0fdb8f9e461b87784ae286c2f45e52e8144</guid></item><item><title>6.0.3: The `dt (n1,n2)` syntax makes it hard to use programmatically defined dashtype</title><link>https://sourceforge.net/p/gnuplot/bugs/2844/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I want to use a calculated dashtype, but while &lt;code&gt;dt k&lt;/code&gt; works, &lt;code&gt;dt (k+1)&lt;/code&gt; does not.   (With the message&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;                                                      ^
         expecting comma
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;)&lt;/p&gt;
&lt;p&gt;And AFAIK, in other situation complicated expressions in &lt;code&gt;gnuplot&lt;/code&gt;⸣s &lt;code&gt;plot&lt;/code&gt; commands “should be” (?) put in parentheses.  In some cases one can manage with abominations like &lt;code&gt;k&amp;gt;15?1:k==6?2:0&lt;/code&gt; — but sometimes the difficulties are not surmountable.&lt;/p&gt;
&lt;p&gt;Is there a need to prohibit lists of length 1 (as in &lt;code&gt;dt (k+1)&lt;/code&gt; — meaning the same as without the parens)?&lt;/p&gt;
&lt;p&gt;(Knowing fine details of &lt;code&gt;Perl&lt;/code&gt; tokenizer) I can see that &lt;code&gt;dt +(k+1)&lt;/code&gt; works too.  So as a stopgap, one could just  document such syntax…&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ilya Zakharevich</dc:creator><pubDate>Sun, 14 Dec 2025 04:19:04 -0000</pubDate><guid>https://sourceforge.netf8a3a215f0aac7ad357d3de9c979838d459de3ce</guid></item><item><title>6.0.3: The `dt (n1,n2)` syntax makes it hard to use programmatically defined dashtype</title><link>https://sourceforge.net/p/gnuplot/bugs/2844/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 2844 has been modified: 6.0.3: The &lt;code&gt;dt (n1,n2)&lt;/code&gt; syntax makes it hard to use programmatically defined dashtype&lt;br/&gt;
Edited By: Ethan Merritt (sfeam)&lt;br/&gt;
Status updated: 'open' =&amp;gt; 'pending-fixed'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ilya Zakharevich</dc:creator><pubDate>Sun, 14 Dec 2025 04:19:04 -0000</pubDate><guid>https://sourceforge.net55dfb628933e90438af8bea2d4298b924211938a</guid></item></channel></rss>