Index: scripts/ChangeLog =================================================================== RCS file: /cvs/octave/scripts/ChangeLog,v retrieving revision 1.952 diff -u -r1.952 ChangeLog --- scripts/ChangeLog 5 Oct 2007 20:52:19 -0000 1.952 +++ scripts/ChangeLog 5 Oct 2007 21:45:27 -0000 @@ -1,3 +1,8 @@ +2007-10-05 Peter A. Gustafson + + * plot/__go_draw_axes__.m: Add cbrange to the plot stream + for surface plots. + 2007-10-05 John W. Eaton * plot/__next_line_color__.m: Get color_rotation from axes Index: scripts/plot/__go_draw_axes__.m =================================================================== RCS file: /cvs/octave/scripts/plot/__go_draw_axes__.m,v retrieving revision 1.43 diff -u -r1.43 __go_draw_axes__.m --- scripts/plot/__go_draw_axes__.m 1 Oct 2007 19:26:41 -0000 1.43 +++ scripts/plot/__go_draw_axes__.m 5 Oct 2007 21:45:27 -0000 @@ -613,6 +613,7 @@ fputs (plot_stream, "set style data lines;\n"); fputs (plot_stream, "set surface;\n"); fputs (plot_stream, "unset contour;\n"); + fprintf (plot_stream, "set cbrange [%g:%g];\n",zmin,zmax); if (have_newer_gnuplot) surf_colormap = parent_figure_obj.colormap;