In Gnuplot output, format title string with ~a (and enclose in double quotes) instead...
commit9bbf8f0c964533b8a7e037c9477c9fa8c64282b5
authorRobert Dodier <robert_dodier@users.sourceforge.net>
Tue, 15 Nov 2022 19:51:02 +0000 (15 11:51 -0800)
committerRobert Dodier <robert_dodier@users.sourceforge.net>
Tue, 15 Nov 2022 19:51:02 +0000 (15 11:51 -0800)
tree4e92a43e45e63f681c67d015edf6f57f8b07e7be
parenta6277d553999dd56be44c7d2d02c73044d20a085
In Gnuplot output, format title string with ~a (and enclose in double quotes) instead of ~s.

With ~a, backslash escape sequences such as \n are printed as such (with one backslash),
but with ~s, two backslashes are printed (presumably to make the result readable as
an identical string). Example:

* (format t "\"~a\" ---- ~s~%" "foo\\nbar" "foo\\nbar")
"foo\nbar" ---- "foo\\nbar"

In order for Gnuplot to correctly interpret the \n, there must be just one backslash.
src/gnuplot_def.lisp