diff --git a/scripts/plot/util/hdl2struct.m b/scripts/plot/util/hdl2struct.m index 9e6e20b055..78e8898d47 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);