Mercurial > hg > octave-lyh
diff scripts/plot/__go_draw_axes__.m @ 8042:827d4f24ec6c
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 | 1f6eb3de1c4e |
children | 2f7ff06c0c7b |
line wrap: on
line diff
--- a/scripts/plot/__go_draw_axes__.m +++ b/scripts/plot/__go_draw_axes__.m @@ -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");