Menu

#554 To extend set mouse mouseformat function string_valued_function(x, y) to a 2nd y axis

open
None
5
2023-03-20
2023-03-20
No

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,

set mouse mouseformat function strftime("%d%b %Y",x).' '.gprintf("%.1f",y)

works well for x,y coordinates but to extend that to another y axis like

set mouse mouseformat function strftime("%d%b %Y",x).' '.gprintf("%.1f",y).' '.gprintf("%.3f",y2)

is not possible. I have changed from 'y' to 'y1' just in case, but didn't work. However, if I set xtics format "< a given format>" 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).

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.