About 3,460,000 results
Open links in new tab
  1. legend - Add legend to axes - MATLAB - MathWorks

    This MATLAB function creates a legend with descriptive labels for each plotted data series.

  2. Add Legend to Graph - MATLAB & Simulink - MathWorks

    Add Legend to Graph Legends are a useful way to label data series plotted on a graph. These examples show how to create a legend and make some common modifications, such as …

  3. Legend - Legend appearance and behavior - MATLAB - MathWorks

    Legend properties control the appearance and behavior of a Legend object.

  4. Add Title and Axis Labels to Chart - MATLAB & Simulink

    This example shows how to add a title and axis labels to a chart by using the title, xlabel, and ylabel functions.

  5. How do I create a legend and include loop variable values

    Feb 21, 2012 · When you create a plot, you can specify the legend labels by setting the “DisplayName” property as name-value pair. Set the "DisplayName" property to a character …

  6. Create a custom legend - MATLAB Answers - MATLAB Central

    Jan 10, 2022 · Hello, I am struggling on how to create a custom label for a series of plots I am doing at the moment (I know how to change the right axis colour). Attached is a sample graph. …

  7. How do I make a figure legend multiple lines? - MATLAB Answers

    May 18, 2022 · The string for my legend is too long to fit into one line. I would like to split it into multiple lines.

  8. How do I create a legend describing a subset of the lines in my …

    Jun 27, 2009 · How do I create a legend describing a subset of... Learn more about legend, subset, some, all, lines, color, choose, select, line, specific MATLAB

  9. Matlab legend in loop - Stack Overflow

    Dec 12, 2022 · lgd = legend(lgd,[txttitle],'interpreter','none'); If I comment out the else statement and line below it plots all the data but only labels the first plot with the appropriate name, but …

  10. How to add extra text to plot legend? - MATLAB Answers

    Jan 28, 2025 · How to add extra text to plot legend?. Learn more about legend, text, plots MATLAB