Get a list of property names and values ​​for the MATLAB section

In the MATLAB documentation for a specific type of chart (i.e. trisurf), it shows how to add properties, but does not give a list of which properties are applicable. Is there a way to find which properties and values ​​are available for a particular type of chart?

+4
source share
3 answers
h = trisurf(...); get(h) 
+5
source

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.

+1
source

@Oli Charlesworth and @yuk made good suggestions on how you can access the properties for a given parcel descriptor.

If you also want to know what these properties actually do, you should look for help. Usually, as with plot , there is a direct link to a complete list of available properties with an explanation. Surprisingly, this does not apply to trisurf , as you mentioned. However, the documentation shows that trisurf creates a patch object. This means that trisurf has all the patch properties that you can find here, here .

+1
source

All Articles