I found a problem: Gnuplot expects a right click with the mouse, but the default settings for the trackpad assume "Secondary click", tapping with two fingers.
You can save this setting and simply change the XQuartz settings: X11 ---> Settings ---> input, then the flag “Emulate three mouse buttons”. Thus, holding an option or command while clicking on the trackpad, the click is interpreted as a right-click, which allows you to scale.
source share