Function Reference: Volume 3 (P-Z) - The MathWorks - #1001

/ 1696


catalogue search
P. 1001
P. 1002
P. 1003
P. 1004
P. 1005
P. 1006
P. 1007
P. 1008
P. 1009
P. 1010
P. 1011
P. 1012
P. 1013
P. 1014
P. 1015
P. 1016
P. 1017
P. 1018
P. 1019
P. 1020
P. 1021
P. 1022
P. 1023
P. 1024
P. 1025
P. 1026
P. 1027
P. 1028
P. 1029
P. 1030
P. 1031
P. 1032
P. 1033
P. 1034
P. 1035
P. 1036
P. 1037
P. 1038
P. 1039
P. 1040
P. 1041
P. 1042
P. 1043
P. 1044
P. 1045
P. 1046
P. 1047
P. 1048
P. 1049
P. 1050


See other catalogues for The MathWorks

Text version of the page
Surface Properties
Control the display of surface objects in legends.The Annotation property enables you to specify whether this surface object is represented in a figure legend.
Querying the Annotation property returns the handle of an hg.Annotation object. The hg.Annotation object has a property called LegendInformation, which contains an hg. LegendEntry object.
Once you have obtained the hg.LegendEntry object, you can set its IconDisplayStyle property to control whether the surface object is displayed in a figure legend:
IconDisplayStyle Value
> Purpose
on
Represent this surface object in a legend (default)
off
Do not include this surface object in a legend
children
Same as on because surface objects do not have children
Setting the IconDisplayStyle property
These commands set the IconDisplayStyle of a graphics object with handle hobj to off:
hAnnotation = get(hobj,'Annotation'); hLegendEntry = get(hAnnotation','LegendInformation'); set(hLegendEntry,'IconDisplayStyle','off')
Using the IconDisplayStyle property
See "Controlling Legends" for more information and examples.
BackFaceLighting
unlit | lit | reverselit
2-3285

pageCatalog pdf di En 2012-06-22-01