wxMaxima-developers / wxmaxima

A gui for the computer algebra system Maxima built with wxWidgets
https://wxMaxima-developers.github.io/wxmaxima/
Other
460 stars 96 forks source link

Gnuplot default terminal for draw / draw3d - how about wxt? #1481

Open MSoegtropIMC opened 3 years ago

MSoegtropIMC commented 3 years ago

As far as I can tell wxmaxima uses x11 as default terminal for draw / draw3d. I wonder if it wouldn't be more appropriate to use the wxt terminal as default for wxMaxima. I guess on Windows and Mac this should work better. Not sure about Linux - if wxt is enabled by default there.

I could also change this in the MacPorts package if a all system change doesn't seem to be appropriate.

gunterkoenigsmann commented 3 years ago

Traditionally for draw and plot wxMaxima uses the terminal maxima chooses, while for wxdraw and wxplot it uses more intelligence, at least as far as I know. The maxima-discuss mailing list once discussed if the current default terminal on the mac might be suboptimal. Perhaps it would be the best option to convince them that this is actually true.

MSoegtropIMC commented 3 years ago

Possibly it would be the best option to handle this on a package manager level (MacPorts / Homebrew on Mac), because they should know what the best supported terminal is. For Windows it should match the gnuplot the Windows installer delivers.

I will also discuss this on the maxima mailing list.

@miccal: what are your thoughts on this?

miccal commented 3 years ago

In Homebrew we have gnuplot as a hard dependency for maxima and hence wxmaxima also.

gunterkoenigsmann commented 3 years ago

The problem is that there are gnuplot versions with different sets of terminals built-in. In theory one could make maxima's configure script detect what terminals the gnuplot that is present at compile-time understands...

miccal commented 3 years ago

In Homebrew gnuplot uses the qt terminal by default.

MSoegtropIMC commented 3 years ago

The MacPorts one should support it, but it is not installed by default (it is a variant). So you agree that it would be best to configure the default terminal by the package manager (Homebrew or MacPorts on Mac)?