changeset 11271:da314c58f0b9

__go_draw_axes__.m: Fix bug setting zscale to yscale (31693).
author Ben Abbott <bpabbott@mac.com>
date Thu, 18 Nov 2010 20:01:29 -0500
parents 5dd8e80fb6c1
children 521f2bb7c443
files scripts/ChangeLog scripts/plot/__go_draw_axes__.m
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-18  Ben Abbott <bpabbott@mac.com>
+
+	* plot/__go_draw_axes__.m: Fix bug setting zscale to yscale (31693).
+
 2010-11-18  Christos Dimitrakakis  <christos.dimitrakakis@gmail.com>
 
 	* statistics/distributions/betapdf.m: Use lgamma to compute
--- a/scripts/plot/__go_draw_axes__.m
+++ b/scripts/plot/__go_draw_axes__.m
@@ -1927,7 +1927,7 @@
   do_tics_1 (obj.ztickmode, obj.ztick, obj.zminortick, obj.zticklabelmode,
              obj.zticklabel, obj.zcolor, "z", plot_stream, true, mono,
              "border", obj.tickdir, ticklength, fontname, fontspec,
-             obj.interpreter, obj.yscale);
+             obj.interpreter, obj.zscale);
 endfunction
 
 function do_tics_1 (ticmode, tics, mtics, labelmode, labels, color, ax,