# HG changeset patch # User David Bateman # Date 1219244367 14400 # Node ID 827d4f24ec6cdb6c22971326685ffd3d6d9eca0d # Parent a14bdf90be55ee97ef9916393ed3496f19014a98 Fix for meshed surfaces with more than one oobject per plot diff -r a14bdf90be55 -r 827d4f24ec6c scripts/ChangeLog --- a/scripts/ChangeLog Tue Aug 19 16:15:52 2008 -0400 +++ b/scripts/ChangeLog Wed Aug 20 10:59:27 2008 -0400 @@ -1,3 +1,8 @@ +2008-08-20 David Bateman + + * plot/__go_draw_axes__.m: Don't set pm3d implicit if the plot + contains a surface. Fixes things like meshc(peaks()). + 2008-08-19 Jaroslav Hajek * optimization/glpk.m: Fix invalid call to zeros. diff -r a14bdf90be55 -r 827d4f24ec6c scripts/plot/__go_draw_axes__.m --- a/scripts/plot/__go_draw_axes__.m Tue Aug 19 16:15:52 2008 -0400 +++ b/scripts/plot/__go_draw_axes__.m Wed Aug 20 10:59:27 2008 -0400 @@ -1009,7 +1009,7 @@ ## This is need to prevent warnings for rotations in 3D plots, while ## allowing colorbars with contours.. - if (nd == 2 || data_idx > 1) + if (nd == 2 || (data_idx > 1 && !view_map)) fputs (plot_stream, "set pm3d implicit;\n"); else fputs (plot_stream, "set pm3d explicit;\n");