changeset 8242:a9d3b88ea6fb

__go_draw_axes__.m: Fix for binary xfer of suface plots.
author Ben Abbott <bpabbott@mac.com>
date Mon, 20 Oct 2008 10:51:23 -0400
parents 1e1e88bcc733
children ec4d9d657b17
files scripts/ChangeLog scripts/plot/__go_draw_axes__.m
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Mon Oct 20 10:42:00 2008 -0400
+++ b/scripts/ChangeLog	Mon Oct 20 10:51:23 2008 -0400
@@ -13,6 +13,8 @@
 
 	* plot/hold.m, plot/comet.m: Properly validate axes handle.
 
+	* plot/__go_draw_axes__.m: Fix for binary xfer of suface plots.
+
 2008-10-20  David Bateman  <dbateman@free.fr>
 
 	* plot/plotyy.m: Test that an axes handle actually is one before
--- a/scripts/plot/__go_draw_axes__.m	Mon Oct 20 10:42:00 2008 -0400
+++ b/scripts/plot/__go_draw_axes__.m	Mon Oct 20 10:51:23 2008 -0400
@@ -818,7 +818,7 @@
 	      ## No interpolation of facecolors.
 	      interp_str = "";
 	    endif
-	    usingclause{data_idx} = sprintf ("record=%dx%d using ($1):($2):($3):($4)", xlen, ylen);
+	    usingclause{data_idx} = sprintf ("record=%dx%d using ($1):($2):($3):($4)", ylen, xlen);
 
             flat_interp_face = (strncmp (obj.facecolor, "flat", 4)
 				|| strncmp (obj.facecolor, "interp", 6));