# HG changeset patch # User Ben Abbott # Date 1224514283 14400 # Node ID a9d3b88ea6fb8e551fe2203ccf6a7e400390081e # Parent 1e1e88bcc733f7069f8fbd88556a0a476e26ca5b __go_draw_axes__.m: Fix for binary xfer of suface plots. diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -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 * plot/plotyy.m: Test that an axes handle actually is one before diff --git a/scripts/plot/__go_draw_axes__.m b/scripts/plot/__go_draw_axes__.m --- a/scripts/plot/__go_draw_axes__.m +++ b/scripts/plot/__go_draw_axes__.m @@ -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));