When the Gnuplot terminal is dumb, i.e. [gnuplot_term, 'dumb], the command set size ratio should be suppressed; otherwise it leads to surprising behavior, as it interacts with "dumb size nnn, nnn". The effect of combining the two (as it is at present) is that the plot isn't as wide as what's specified bydumb size ratio.
At present there isn't a way to disable set size ratio, but a partial workaround is to to [yx_ratio, 0.5] or something; the default is 0.75, and making the ratio smaller has the effect of making the plot wider.
I've attached the original Gnuplot command file and output file as *-original, and the original files with set size ratio commented out, and the original files with set size ratio 0.5.
As you can see, the output for the no-size-ratio fills up the specified output size, but the default, with set size ratio 0.75, does not, and set size ratio 0.5 is more nearly like the no-size-ratio version.
Working with Maxima 5.46 + some commits and Gnuplot 5.4 patchlevel 2.
Imported from SourceForge on 2024-07-04 01:46:42 Created by robert_dodier on 2022-04-28 19:52:51 Original: https://sourceforge.net/p/maxima/bugs/3971
When the Gnuplot terminal is
dumb
, i.e.[gnuplot_term, 'dumb]
, the commandset size ratio
should be suppressed; otherwise it leads to surprising behavior, as it interacts with"dumb size nnn, nnn"
. The effect of combining the two (as it is at present) is that the plot isn't as wide as what's specified bydumb size ratio
.At present there isn't a way to disable
set size ratio
, but a partial workaround is to to[yx_ratio, 0.5]
or something; the default is 0.75, and making the ratio smaller has the effect of making the plot wider.E.g. given:
I've attached the original Gnuplot command file and output file as
*-original
, and the original files withset size ratio
commented out, and the original files withset size ratio 0.5
.As you can see, the output for the
no-size-ratio
fills up the specified output size, but the default, withset size ratio 0.75
, does not, andset size ratio 0.5
is more nearly like theno-size-ratio
version.Working with Maxima 5.46 + some commits and Gnuplot 5.4 patchlevel 2.
Attachments: