About 3,420,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 changing the location, …

  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. 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. What I want to …

  7. 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 vector of the text that …

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

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

  10. legendflex.m: a more flexible, customizable legend

    Jan 17, 2025 · Output variables: legend_h: handle of the legend axis. It is not linked to an axis or graphics objects in the same way as a Matlab legend. However, on figure resize, all properties of the …