changeset 7094:dbf9b76b0fe9

[project @ 2007-11-01 02:17:32 by jwe]
author jwe
date Thu, 01 Nov 2007 02:17:32 +0000
parents e5005117103d
children efd16513ff8f
files scripts/ChangeLog scripts/plot/__go_draw_axes__.m
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Wed Oct 31 23:41:37 2007 +0000
+++ b/scripts/ChangeLog	Thu Nov 01 02:17:32 2007 +0000
@@ -1,3 +1,7 @@
+2007-10-31  John W. Eaton  <jwe@octave.org>
+
+	* plot/__go_draw_axes__.m: Call undo_string_escapes on obj.keylabel.
+
 2007-10-31  Michael goffioul  <michael.goffioul@gmail.com>
 
 	* plot/subplot.m: Ignore legend objects when parsing existing axes
--- a/scripts/plot/__go_draw_axes__.m	Wed Oct 31 23:41:37 2007 +0000
+++ b/scripts/plot/__go_draw_axes__.m	Thu Nov 01 02:17:32 2007 +0000
@@ -302,7 +302,8 @@
 	  if (isempty (obj.keylabel))
 	    titlespec{data_idx} = "title \"\"";
 	  else
-	    titlespec{data_idx} = strcat ("title \"", obj.keylabel, "\"");
+	    tmp = undo_string_escapes (obj.keylabel);
+	    titlespec{data_idx} = strcat ("title \"", tmp, "\"");
 	  endif
 	  [style, typ, with] = do_linestyle_command (obj, data_idx, plot_stream);
 	  usingclause{data_idx} = "";
@@ -578,7 +579,8 @@
 	  if (isempty (obj.keylabel))
 	    titlespec{data_idx} = "title \"\"";
 	  else
-	    titlespec{data_idx} = strcat ("title \"", obj.keylabel, "\"");
+	    tmp = undo_string_escapes (obj.keylabel);
+	    titlespec{data_idx} = strcat ("title \"", tmp, "\"");
 	  endif
 	  usingclause{data_idx} = "";
 	  if (have_newer_gnuplot || isnan (typ))