<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 590: Add cdot as multiplication sign</title><link href="https://sourceforge.net/p/gnuplot/feature-requests/590/" rel="alternate"/><link href="https://sourceforge.net/p/gnuplot/feature-requests/590/feed.atom" rel="self"/><id>https://sourceforge.net/p/gnuplot/feature-requests/590/</id><updated>2025-09-16T22:19:16.022000Z</updated><subtitle>Recent changes to 590: Add cdot as multiplication sign</subtitle><entry><title>#590 Add cdot as multiplication sign</title><link href="https://sourceforge.net/p/gnuplot/feature-requests/590/?limit=25#f436" rel="alternate"/><published>2025-09-16T22:19:16.022000Z</published><updated>2025-09-16T22:19:16.022000Z</updated><author><name>Ethan Merritt</name><uri>https://sourceforge.net/u/sfeam/</uri></author><id>https://sourceforge.netfe4c0b14fbaa51e8482eafb28e02ad404cfcaf83</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-accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#590 Add cdot as multiplication sign</title><link href="https://sourceforge.net/p/gnuplot/feature-requests/590/?limit=25#8ee5/63cd/1fde/0263/f121/5d05" rel="alternate"/><published>2025-06-11T04:52:07.351000Z</published><updated>2025-06-11T04:52:07.351000Z</updated><author><name>Michael Okuntsov</name><uri>https://sourceforge.net/u/okuntsov/</uri></author><id>https://sourceforge.neta3015dcf90d1bedd50ae7176207b48c1416da28b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks, but I'm using pdfcairo to insert into MS Word.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#590 Add cdot as multiplication sign</title><link href="https://sourceforge.net/p/gnuplot/feature-requests/590/?limit=25#8ee5/63cd/1fde/0263/f121" rel="alternate"/><published>2025-06-11T04:50:14.072000Z</published><updated>2025-06-11T04:50:14.072000Z</updated><author><name>Ethan Merritt</name><uri>https://sourceforge.net/u/sfeam/</uri></author><id>https://sourceforge.net0b93afb71349c1f480a57a3e57d68fd1f9119621</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hmm.  If pdf output using the tikz terminal + pdflatex is an option for you, the format  &lt;code&gt;set tics format '$%H$'&lt;/code&gt; would do what you want.  The LaTeX terminals use a cross for format %h and \cdot for format %H.    One option I am looking at is to make the non-LaTeX terminals do the same.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#590 Add cdot as multiplication sign</title><link href="https://sourceforge.net/p/gnuplot/feature-requests/590/?limit=25#8ee5/63cd/1fde/0263" rel="alternate"/><published>2025-06-11T01:05:41.920000Z</published><updated>2025-06-11T01:05:41.920000Z</updated><author><name>Michael Okuntsov</name><uri>https://sourceforge.net/u/okuntsov/</uri></author><id>https://sourceforge.net7b429431408c34010688cd04a9f50f5c22f3a153</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for the reply. Here's my situation in brief:&lt;br/&gt;
I generate gnuplot scripts automatically (via Python) for 50–1000 datasets with very different Y-axis ranges: from 0:10 to 1e5:5e20 or -1e-5:5e-5. I can't manually tune each script.&lt;br/&gt;
Using &lt;code&gt;set format y "%g"&lt;/code&gt; gives me inconsistent styles: for 0:10 I get nice integers, &lt;br/&gt;
for large/small ranges I get 1e-5, 5e20, etc.&lt;br/&gt;
However, my report format requires tick labels like:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;−1·10⁻⁵ or 1·10²⁰, not 1e-5.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The %h format is almost perfect, but it uses a cross (×).&lt;br/&gt;
What I’d really like is a format like %g, but with Unicode-friendly exponents instead of e notation. That way I don’t have to analyze each dataset just to pick the right format manually.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#590 Add cdot as multiplication sign</title><link href="https://sourceforge.net/p/gnuplot/feature-requests/590/?limit=25#8ee5/63cd/1fde" rel="alternate"/><published>2025-06-11T00:23:21.274000Z</published><updated>2025-06-11T00:23:21.274000Z</updated><author><name>Ethan Merritt</name><uri>https://sourceforge.net/u/sfeam/</uri></author><id>https://sourceforge.netc5c1680415c1b3d5957ee7170442df84d30c1c0a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sorry, I do not understand what you are saying.  Why can't you provide it for tick formatting?   If the script was previously saying "set tics format '%h'", you change the script to say instead "set tics format MYFORMAT" where MYFORMAT is any string you like. What have I missed?&lt;/p&gt;
&lt;p&gt;I do have a patch I am working on to add an alternative, but that wouldn't be available in a stable release for quite a while, so it would seem like a good thing to find a solution that works already and would provide an immediate broadly available option.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#590 Add cdot as multiplication sign</title><link href="https://sourceforge.net/p/gnuplot/feature-requests/590/?limit=25#8ee5/63cd" rel="alternate"/><published>2025-06-10T23:14:35.595000Z</published><updated>2025-06-10T23:14:35.595000Z</updated><author><name>Michael Okuntsov</name><uri>https://sourceforge.net/u/okuntsov/</uri></author><id>https://sourceforge.net7e17bd9515755c3ea5cc0fa04f02fb5fbd9c126c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;"providing an explicit tick format" - yes, but if you have a lot of auto-generated gnuplot scripts, you'll need an automatic format, something like "%g", and you can't provide it for tick formatting.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#590 Add cdot as multiplication sign</title><link href="https://sourceforge.net/p/gnuplot/feature-requests/590/?limit=25#8ee5" rel="alternate"/><published>2025-06-08T18:09:54.955000Z</published><updated>2025-06-08T18:09:54.955000Z</updated><author><name>Ethan Merritt</name><uri>https://sourceforge.net/u/sfeam/</uri></author><id>https://sourceforge.net49aa9923b8640dd9d39e252d42b0362e9cb96713</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Note that it is possible to do this by providing an explicit tick format.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;set ytics format "%.1t·10^{%.0t}"&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Since it may be difficult to type in the \cdot character on your keyboard, you can use an escape sequence.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;set ytics format "%.1t{\U+B7}10^{%.0t}"&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;But yes, it might be worth adding an option that is simpler to type.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add cdot as multiplication sign</title><link href="https://sourceforge.net/p/gnuplot/feature-requests/590/" rel="alternate"/><published>2025-06-06T12:43:56.107000Z</published><updated>2025-06-06T12:43:56.107000Z</updated><author><name>Michael Okuntsov</name><uri>https://sourceforge.net/u/okuntsov/</uri></author><id>https://sourceforge.netf10c4d0e9d5d5e0d7a514627945350f665e1433f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I suggest adding the · (cdot) symbol as the multiplication sign in tick labels for UTF-8 encoding. Currently, a cross symbol (×) is used for both the h and H modifiers. I implemented this change for myself by modifying src/util.c:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;        } else switch (encoding) {
            case S_ENC_UTF8:
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;//              strcpy(&amp;amp;tmp2&lt;span&gt;[j]&lt;/span&gt;, "\xc3\x97"); /&lt;em&gt; UTF character '×' &lt;/em&gt;/&lt;br/&gt;
                strcpy(&amp;amp;tmp2&lt;span&gt;[j]&lt;/span&gt;, "\xc2\xb7"); /&lt;em&gt; UTF character '·' &lt;/em&gt;/&lt;/p&gt;
&lt;p&gt;so now the command &lt;code&gt;set format y '%h'&lt;/code&gt; can produce tick labels like "2·10⁵".&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add cdot as multiplication sign</title><link href="https://sourceforge.net/p/gnuplot/feature-requests/590/" rel="alternate"/><published>2025-06-06T12:43:56.107000Z</published><updated>2025-06-06T12:43:56.107000Z</updated><author><name>Michael Okuntsov</name><uri>https://sourceforge.net/u/okuntsov/</uri></author><id>https://sourceforge.netb142798069f73766a3ce843e22b0a29cbbce855f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 590 has been modified: Add cdot as multiplication sign&lt;br/&gt;
Edited By: Ethan Merritt (sfeam)&lt;br/&gt;
Status updated: 'open' =&amp;gt; 'pending-accepted'&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>