changeset 6579:f569cc721d3b

[project @ 2007-04-25 17:26:49 by jwe]
author jwe
date Wed, 25 Apr 2007 17:26:49 +0000
parents fbc16fe0e86a
children d2bb3b8a8d20
files scripts/ChangeLog scripts/plot/__go_draw_axes__.m
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Wed Apr 25 16:04:59 2007 +0000
+++ b/scripts/ChangeLog	Wed Apr 25 17:26:49 2007 +0000
@@ -1,5 +1,8 @@
 2007-04-25  John W. Eaton  <jwe@octave.org>
 
+	* plot/__go_draw_axes__.m: For images, set titlespec{data_idx} to
+	"title \"\"", not "".
+
 	* plot/legend.m: Initialize WARNED to false.
 
 2007-04-24  John W. Eaton  <jwe@octave.org>
--- a/scripts/plot/__go_draw_axes__.m	Wed Apr 25 16:04:59 2007 +0000
+++ b/scripts/plot/__go_draw_axes__.m	Wed Apr 25 17:26:49 2007 +0000
@@ -311,7 +311,7 @@
 	      fwrite (plot_stream, [1:palette_size; img_colormap'], "float32");
 	    endif
 
-	    titlespec{data_idx} = "";
+	    titlespec{data_idx} = "title \"\"";
 	    usingclause{data_idx} = sprintf ("binary array=%dx%d scan=yx origin=(%g,%g) dx=%g dy=%g using %s",
 		x_dim, y_dim, x_origin, y_origin, dx, dy, format);
 	    withclause{data_idx} = sprintf ("with %s", imagetype);