I'm trying to set the size of a wxt terminal window using gnuplot v4.2
gnuplot> set terminal wxt size 600,600
Terminal type set to 'wxt'
undefined variable: size
Even more frustrating is that wxt does not respect the -geometry
flag like the x11 terminal. Note: I've tried 600,800
and 600x800
both don't work.
% gnuplot --version
gnuplot 4.2 patchlevel 4
The wxt terminal device generates output in a separate window. The window is created by the wxWidgets library, where the 'wxt' comes from. The actual drawing is done via cairo, a 2D graphics library, and pango, a library for laying out and rendering text.
News: the default terminal is set to 'wxt' terminal instead of the traditional 'windows' terminal. The default terminal can be controlled by setting the 'GNUTERM' environmental variable or by putting 'set term windows|wxt' into gnuplot.
I think there is a small mistake in your command, you should use , not x, so:
set terminal wxt size 600,600
Just to close this out, I've come to the sad conclusion that gnuplot 4.2 has no size options for the wxt terminal. It will work just as Martin shows for newer versions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With