diff --git a/scripts/plot/util/hdl2struct.m b/scripts/plot/util/hdl2struct.m index 28b1ab9de7..2cb9ff0e45 100644 --- a/scripts/plot/util/hdl2struct.m +++ b/scripts/plot/util/hdl2struct.m @@ -62,6 +62,11 @@ ## Check for polar plots with special "polar_grid" object ## FIXME: A hack to fix bug #62093. kids = [kids; findall(h, "tag", "polar_grid")]; + + ## Add legend markers which are normally hidden + if (strcmp (s.properties.tag, "legend")) + kids = [kids; findall(h, "-depth", 1, "type", "line", "-property", "markertruesize")]; + endif endif nkids = length (kids);