Mercurial > hg > octave-nkf
changeset 11815:72ceeae0f6b2 release-3-0-x
Fix for meshed surfaces with more than one oobject per plot
author | David Bateman <dbateman@free.fr> |
---|---|
date | Wed, 20 Aug 2008 10:59:27 -0400 |
parents | 2ca993580aca |
children | fc813a4fe194 |
files | scripts/ChangeLog scripts/plot/__go_draw_axes__.m |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2008-08-20 David Bateman <dbateman@free.fr> + + * 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 <highegg@gmail.com> * optimization/glpk.m: Fix invalid call to zeros.
--- a/scripts/plot/__go_draw_axes__.m +++ b/scripts/plot/__go_draw_axes__.m @@ -1001,7 +1001,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");