Alternatively, try Property Inspector : inspect(h) .
Note that if you build multiple lines with a graph, you will get a pen for each line. To open the inspector, you will have to hand over an individual pen.
h = plot(magic(5)); inspect(h(1))
There is also a great alternative to inspect - UIINSPECT . Download it from File Exchange.
source share