Mercurial > hg > octave-nkf
changeset 17721:e477578fca3d
print.m: Fix printing when using -F option with legends (bug #40334).
* scripts/plot/util/print.m: Sort graphics handles so that axes children
are acted on before axes itself.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 21 Oct 2013 22:46:06 -0700 |
parents | 1ab8e21d9cfc |
children | 5b0036d89d4a |
files | scripts/plot/util/print.m |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/util/print.m +++ b/scripts/plot/util/print.m @@ -405,7 +405,8 @@ ## This is done to work around the bbox being whole numbers. fontsize = fontsize * opts.scalefontsize; endif - set (h(ishandle (h)), "fontsize", fontsize); + ## FIXME: sort needed so legend child objects are acted on first + set (sort (h(ishandle (h))), "fontsize", fontsize); endif endif