Mercurial > hg > octave-terminal
changeset 6142:75706465dc40
[project @ 2006-11-06 19:12:10 by jwe]
author | jwe |
---|---|
date | Mon, 06 Nov 2006 19:12:10 +0000 |
parents | f6c2d9276572 |
children | 47f0cab13a02 |
files | scripts/ChangeLog scripts/image/__img__.m |
diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2006-11-06 Søren Hauberg <soren@hauberg.org> + + * image/__img__.m: Send "set size ratio -1" before plotting. + 2006-11-03 Bill Denney <denney@seas.upenn.edu> * strings/index.m: New arg, direction. Simplify and speed up.
--- a/scripts/image/__img__.m +++ b/scripts/image/__img__.m @@ -33,6 +33,7 @@ endif __gnuplot_raw__ ("set nokey\n"); + __gnuplot_raw__ ("set size ratio -1;\n"); __current_color_map__ = colormap (); palette_size = size (__current_color_map__, 1); __gnuplot_raw__ (sprintf ("set palette positive color model RGB maxcolors %i\n", palette_size));