Interactive Legends

'found out how to get the Matlab version running. The args needs a curly brace instead of square, i.e. replace
‘args’, { {‘visible’, [true, true, true, true]} }
with
‘args’, { {‘visible’, {true, true, true, true}} }, …