Mercurial > octave
changeset 22584:2bca08793651 stable
Fix regression with '@' character in gnuplot text fields (bug #49260).
* __gnuplot_draw_axes__.m: Change regexprep replacement pattern from
'\@' to '\\@' since Matlab requires one round of interpretation despite
the single quotes.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 03 Oct 2016 14:07:58 -0700 |
parents | 43fe18c1129e |
children | d2bca82253ee |
files | scripts/plot/util/private/__gnuplot_draw_axes__.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/util/private/__gnuplot_draw_axes__.m Sun Oct 02 23:55:31 2016 -0500 +++ b/scripts/plot/util/private/__gnuplot_draw_axes__.m Mon Oct 03 14:07:58 2016 -0700 @@ -2416,7 +2416,7 @@ endif if (enhanced) - str = regexprep (str, '(?<!\\)@', '\@'); + str = regexprep (str, '(?<!\\)@', '\\@'); endif if (enhanced)