Mercurial > hg > octave-lojdl
changeset 6420:e35658098bbc
[project @ 2007-03-20 17:22:31 by jwe]
author | jwe |
---|---|
date | Tue, 20 Mar 2007 17:22:31 +0000 |
parents | 73fcbac81f33 |
children | cac156381f81 |
files | scripts/ChangeLog scripts/image/__img__.m scripts/plot/__go_draw_axes__.m |
diffstat | 3 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -7,6 +7,10 @@ 2007-03-20 Daniel J Sebald <daniel.sebald@ieee.org>. + * image/__img__.m: Maybe set yaxis to reverse for images. + * plot/__go_draw_axes__.m: Don't add flipy to gnuplot command for + images. + * plot/drawnow.m: Make __go_close_all_registered__ persistent instead of global. Only register __go_close_all__ with atexit if the plot stream is successfully opened.
--- a/scripts/image/__img__.m +++ b/scripts/image/__img__.m @@ -56,6 +56,10 @@ set (ca, "view", [0, 90]); + if (strcmp (get (ca, "nextplot"), "replace")) + set (ca, "ydir", "reverse"); + endif + if (nargout > 0) h = tmp; endif
--- a/scripts/plot/__go_draw_axes__.m +++ b/scripts/plot/__go_draw_axes__.m @@ -335,7 +335,7 @@ filespec{data_idx} = img_fname; titlespec{data_idx} = ""; - usingclause{data_idx} = sprintf ("binary array=%dx%d scan=yx flipy origin=(%g,%g) dx=%g dy=%g using %s", + usingclause{data_idx} = sprintf ("binary array=%dx%d scan=yx origin=(%g,%g) dx=%g dy=%g using %s", x_dim, y_dim, x_origin, y_origin, dx, dy, format); withclause{data_idx} = sprintf ("with %s", imagetype);