| Contents | Index |
Legend makes a legend entry and activates the legend.
|
Attribute |
Type |
Value |
See Also:
LegendAlignment, LegendEntry, LegendPlacement, LegendText, LegendVisible
See Also:
Section Legends in this document.
Details:
Legend is a library wrapper which sets a LegendText and simultaneously switches the legend on by setting LegendEntry and LegendVisible to TRUE.
Example 1
Legend is used to set a LegendText for the function and activate the legend. The line does not appear in the legend:
plot(plot::Function2d(cos(x), x = 0..2*PI, Legend = "cos(x)"),
plot::Line2d([0, 1], [4, cos(4)], Color = RGB::Black))


Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |