<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 554: To extend set mouse mouseformat function string_valued_function(x, y) to a 2nd y axis</title><link href="https://sourceforge.net/p/gnuplot/feature-requests/554/" rel="alternate"/><link href="https://sourceforge.net/p/gnuplot/feature-requests/554/feed.atom" rel="self"/><id>https://sourceforge.net/p/gnuplot/feature-requests/554/</id><updated>2023-03-20T19:46:33.124000Z</updated><subtitle>Recent changes to 554: To extend set mouse mouseformat function string_valued_function(x, y) to a 2nd y axis</subtitle><entry><title>To extend set mouse mouseformat function string_valued_function(x, y) to a 2nd y axis</title><link href="https://sourceforge.net/p/gnuplot/feature-requests/554/" rel="alternate"/><published>2023-03-20T19:46:33.124000Z</published><updated>2023-03-20T19:46:33.124000Z</updated><author><name>Justin Sales</name><uri>https://sourceforge.net/u/ifffam/</uri></author><id>https://sourceforge.net1a0c45b5c1262e487edc38fa8525d43dcd47ca39</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It would be good (though not essential!) to extend the use of  set mouse mouseformat function string_valued_function(x, y)  to another y variable for 2D plots: for example,&lt;/p&gt;
&lt;p&gt;set mouse mouseformat function strftime("%d%b  %Y",x).'  '.gprintf("%.1f",y)&lt;/p&gt;
&lt;p&gt;works well for x,y coordinates but to extend that to another y axis like&lt;/p&gt;
&lt;p&gt;set mouse mouseformat function strftime("%d%b  %Y",x).'  '.gprintf("%.1f",y).' '.gprintf("%.3f",y2)&lt;/p&gt;
&lt;p&gt;is not possible. I have changed  from 'y'  to  'y1'  just in case, but didn't work. However, if I set xtics format "&amp;lt; a given format&amp;gt;" right before, it does changes the format of the x reading, but you cannot do the same for y, nor for y2; anyway, at least it gives you the y and y1 reading (but with an unchangeable format).&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>