changeset 6078:34b1758d3247

[project @ 2006-10-24 18:38:51 by jwe]
author jwe
date Tue, 24 Oct 2006 18:38:51 +0000
parents 95f153281c97
children 802aec2b1a2e
files scripts/ChangeLog scripts/plot/plot3.m
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Tue Oct 24 16:24:30 2006 +0000
+++ b/scripts/ChangeLog	Tue Oct 24 18:38:51 2006 +0000
@@ -1,5 +1,8 @@
 2006-10-24  John W. Eaton  <jwe@octave.org>
 
+	* plot/plot3.m: If we have a format string, then also pass using
+	string to __plt3__.
+
 	* plot/sombrero.m: Don't return anything if nargout == 0.
 
 	* plot/__plt3__.m: Create using clause if none is supplied.
--- a/scripts/plot/plot3.m	Tue Oct 24 16:24:30 2006 +0000
+++ b/scripts/plot/plot3.m	Tue Oct 24 18:38:51 2006 +0000
@@ -223,7 +223,8 @@
 
 	  __plt3__ ([([x; NaN*ones(1,size(x,2))])(:), ...
 		   ([y; NaN*ones(1,size(y,2))])(:), ...
-		   ([z; NaN*ones(1,size(z,2))])(:)], "", fmt);
+		   ([z; NaN*ones(1,size(z,2))])(:)],
+		    "u($1):($2):($3)", fmt);
 
 	unwind_protect_cleanup
 	  __gnuplot_set__ noparametric;