Mercurial > octave
changeset 13252:e0ef7a3f35d9
Fix bug introduced by 105c72254967.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Thu, 29 Sep 2011 17:04:00 -0400 |
parents | f6bbdea030b2 |
children | e749d0b568c8 |
files | scripts/plot/__gnuplot_drawnow__.m scripts/plot/private/__patch__.m |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/__gnuplot_drawnow__.m Thu Sep 29 14:16:58 2011 -0400 +++ b/scripts/plot/__gnuplot_drawnow__.m Thu Sep 29 17:04:00 2011 -0400 @@ -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
--- a/scripts/plot/private/__patch__.m Thu Sep 29 14:16:58 2011 -0400 +++ b/scripts/plot/private/__patch__.m Thu Sep 29 17:04:00 2011 -0400 @@ -289,7 +289,7 @@ if (ndims (c) == 3) fvc = reshape (c, size (c, 1) * size (c, 2), size(c, 3)); else - fvc = c(:).'; + fvc = c.'; endif args = {"faces", faces, "vertices", vert, "facevertexcdata", fvc, args{:}};