# HG changeset patch # User jwe # Date 1191624059 0 # Node ID 642f481d2d50a19323c23fafd5023ab029757187 # Parent 9ac23c7f1c37e9eac627ddfd0207c93f333aa78f [project @ 2007-10-05 22:40:59 by jwe] diff -r 9ac23c7f1c37 -r 642f481d2d50 scripts/ChangeLog --- a/scripts/ChangeLog Fri Oct 05 20:52:19 2007 +0000 +++ b/scripts/ChangeLog Fri Oct 05 22:40:59 2007 +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 diff -r 9ac23c7f1c37 -r 642f481d2d50 scripts/plot/__go_draw_axes__.m --- a/scripts/plot/__go_draw_axes__.m Fri Oct 05 20:52:19 2007 +0000 +++ b/scripts/plot/__go_draw_axes__.m Fri Oct 05 22:40:59 2007 +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;