Mercurial > jwe > octave
changeset 28654:a57e52e4523a
maint: merge stable to default.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Wed, 26 Aug 2020 15:42:02 +0200 |
parents | f0414ee0fefe (current diff) 60d2b3d903d4 (diff) |
children | ddcc33be4fd9 |
files | scripts/plot/util/print.m |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/util/print.m Fri Aug 21 08:36:47 2020 -0400 +++ b/scripts/plot/util/print.m Wed Aug 26 15:42:02 2020 +0200 @@ -480,9 +480,9 @@ "-not", "units", "normalized", "-not", "units", "data"); hobj(strncmp (get (hobj, "type"), "ui", 2)) = []; for n = 1:numel(hobj) - props(n).h = hobj(n); - props(n).name = "units"; - props(n).value = {get(hobj(n), "units")}; + props(end+1).h = hobj(n); + props(end).name = "units"; + props(end).value = {get(hobj(n), "units")}; set (hobj(n), "units", "data"); nfig += 1; endfor