Mercurial > hg > octave-lyh
diff scripts/plot/__gnuplot_drawnow__.m @ 13252:e0ef7a3f35d9
Fix bug introduced by 105c72254967.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Thu, 29 Sep 2011 17:04:00 -0400 |
parents | 105c72254967 |
children | 3f3aa11aca41 b265b592c796 |
line wrap: on
line diff
--- a/scripts/plot/__gnuplot_drawnow__.m +++ b/scripts/plot/__gnuplot_drawnow__.m @@ -149,7 +149,7 @@ ## Generate gnuplot title string for plot windows. if (output_to_screen (term) && ~strcmp (term, "dumb")) fig.numbertitle = get (h, "numbertitle"); - fig.name = strrep ("\"", "\\\"", get (h, "name")); + fig.name = strrep (get (h, "name"), "\"", "\\\""); if (strcmpi (get (h, "numbertitle"), "on")) title_str = sprintf ("Figure %d", h); else