About 3,410,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. Text - Legend text appearance and behavior - MATLAB - MathWorks

    Legend text properties control the appearance and behavior of the legend title.

  6. 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 …

  7. 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. …

  8. 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.

  9. 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

  10. Matlab legend in loop - Stack Overflow

    Dec 12, 2022 · It's typically easier in these cases to use the DisplayName property of plot (and most plotting functions) and then call legend a single time before/after the loop.