Mercurial > jwe > octave
changeset 24411:a51a92186a1f
__gnuplot_drawnow__.m: Update comment about positioning figure (bug #49215).
* __gnuplot_drawnow__.m: Update comment about positioning figure.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 13 Dec 2017 13:25:30 -0800 |
parents | 66977aecf3c0 |
children | 2adff1743db7 |
files | scripts/plot/util/__gnuplot_drawnow__.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/util/__gnuplot_drawnow__.m Wed Dec 13 11:17:57 2017 -0800 +++ b/scripts/plot/util/__gnuplot_drawnow__.m Wed Dec 13 13:25:30 2017 -0800 @@ -237,8 +237,8 @@ set (0, "units", units); end_unwind_protect if (all (screen_size > 0)) - ## For X11/Windows, set the figure positon as well as the size - ## gnuplot position is UL, Octave's is LL (same for screen/window) + ## Set the figure position as well as the size. gnuplot position + ## is UL, Octave's is LL (same for screen/window) gnuplot_pos(2) = screen_size(2) - gnuplot_pos(2) - gnuplot_size(2); gnuplot_pos = max (gnuplot_pos, 1); size_str = sprintf ("%s position %d,%d", size_str,