Mercurial > hg > octave-nkf
changeset 6181:ac4821cdb740
[project @ 2006-11-19 16:44:53 by jwe]
author | jwe |
---|---|
date | Sun, 19 Nov 2006 16:44:54 +0000 |
parents | 133e7a4a5565 |
children | 880235733789 |
files | scripts/ChangeLog scripts/plot/__render_plot1__.m |
diffstat | 2 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,5 +1,7 @@ 2006-11-17 John W. Eaton <jwe@octave.org> + * plot/__render_plot1__.m: Reverse y axis for images. + * plot/__render_plot__.m: New args, terminal and output. * plot/print.m: Don't set output and term here. Instead, call __render_plot__ with terminal and output.
--- a/scripts/plot/__render_plot1__.m +++ b/scripts/plot/__render_plot1__.m @@ -61,6 +61,7 @@ __gnuplot_raw__ (sprintf ("%d %.4g %.4g %.4g\n", [idx, tmp]')); __gnuplot_raw__("e\n"); + __gnuplot_raw__ ("set yrange [:] reverse;\n"); __gnuplot_raw__ ("set autoscale fix\n"); # "fix" is helpful for "a" hotkey __gnuplot_raw__ ("set tics out\n"); endif