could anyone help me where to find the legend properties in matlab
3 次查看(过去 30 天)
显示 更早的评论
could anyone help me where to find the legend properties in matlab
0 个评论
回答(1 个)
Walter Roberson
2018-6-26
The documented properties are at https://www.mathworks.com/help/matlab/ref/matlab.graphics.illustration.legend-properties.html
For undocumented properties,
h = legend();
s = struct(h);
This will list a number of data classes that have no public description like [1×1 ListOfPointsHighlight] or [1×1 UniformCartesianDataSpace] . Some of those turn out to be linked to implementations that Don't Work Right.... for example setting the Alpha component of a LineStrip color should work (the java objects do have alpha) but doesn't.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!