./configure --disable-backwards-compatibility
Notice: Deprecated syntax items may be disabled permanently in some future version of gnuplot.
One major difference is the introduction of keywords to disambiguate complex commands, particularly commands containing string variables. A notable issue was the use of bare numbers to specify offsets, line and point types. Illustrative examples:
Deprecated:
set title "Old" 0,-1
set data linespoints
plot 1 2 4 # horizontal line at y=1
TITLE = "New"
set title TITLE offset char 0, char -1
set style data linespoints
plot 1 linetype 2 pointtype 4
Another compatibility issue is the effect of the command set size outside
when not in multiplot mode. In earlier versions, the command
set size
xx
,
yy
caused some terminals to change both the size of the plot
and the size of the canvas is was drawn on; other terminatls changed only the
plot size. The use of set size to change the canvas size is now deprecated.
Please see set size (p.
), set term size (p.
) and also the documentation for
individual terminals.