Mercurial > hg > octave-terminal
changeset 6963:642f481d2d50
[project @ 2007-10-05 22:40:59 by jwe]
author | jwe |
---|---|
date | Fri, 05 Oct 2007 22:40:59 +0000 |
parents | 9ac23c7f1c37 |
children | 33f20a41aeea |
files | scripts/ChangeLog scripts/plot/__go_draw_axes__.m |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2007-10-05 Peter A. Gustafson <petegus@umich.edu> + + * plot/__go_draw_axes__.m: Add cbrange to the plot stream + for surface plots. + 2007-10-05 John W. Eaton <jwe@octave.org> * plot/__next_line_color__.m: Get color_rotation from axes
--- a/scripts/plot/__go_draw_axes__.m +++ b/scripts/plot/__go_draw_axes__.m @@ -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;