changeset 28871:82dc3b43c846

maint: merge stable to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 08 Oct 2020 18:58:28 +0200
parents 4e64416772f1 (current diff) 73f04ba59351 (diff)
children f389a69916c4
files scripts/plot/draw/plotyy.m
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/draw/plotyy.m	Thu Oct 08 16:13:20 2020 +0200
+++ b/scripts/plot/draw/plotyy.m	Thu Oct 08 18:58:28 2020 +0200
@@ -154,6 +154,7 @@
     set (ax(2), "ycolor", getcolor (h2));
   endif
 
+  set (ax(2), "units", get (ax(1), "units"));
   if (strcmp (get(ax(1), "positionconstraint"), "innerposition"))
     set (ax(2), "position", get (ax(1), "position"));
   else