About 176,000 results
Open links in new tab
  1. Labels and Annotations - MathWorks

    Add subtitle to plot (Since R2020b) sgtitle: Add title to grid of plots: xlabel: Label x-axis: ylabel: Label y-axis: zlabel: Label z-axis: fontname: Change font name for objects in a figure (Since R2022a) fontsize: Change font size for objects in a figure (Since R2022a) legend: Add legend to axes: bubblelegend: Create legend for bubble chart ...

  2. Add Title and Axis Labels to Chart - MathWorks

    Change Font Size. Axes objects have properties that you can use to customize the appearance of the axes. For example, the FontSize property controls the font size of the title, labels, and legend.

  3. xlabel - MathWorks

    The label font size updates to equal the axes font size times the label scale factor. The FontSize property of the axes contains the axes font size. The LabelFontSizeMultiplier property of the axes contains the label scale factor. By default, the axes font size is 10 points and the scale factor is 1.1, so the x-axis label font size is 11 points.

  4. legend - MathWorks

    To exclude a line from the legend, specify its label as an empty character vector or string. For example, plot two sine waves, and add a dashed zero line by calling the yline function. Then create a legend, and exclude the zero line by specifying its label as ''.

  5. Add Legend to Graph - MathWorks

    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, setting the font size, and adding a title. You also can create a legend with multiple columns or create a legend for a subset of the plotted data.

  6. Specify Axis Tick Values and Labels - MathWorks

    Plot data with y values that range between -15,000 and 15,000. By default, the y -axis tick labels use exponential notation with an exponent value of 4 and a base of 10. Change the exponent value to 2.

  7. How to label the curve instead of using legend? - MATLAB …

    Jun 19, 2022 · How to label the curve instead of using legend?. Learn more about plot, multiple plot, legend MATLAB I wrote a code to plot a lot of graphs but while visualizing it becomes difficult to accertain which curve I am looking at, as some curves seems to have similar color.

  8. Labels and Annotations - MathWorks

    Label data series using a legend and customize the legend appearance such as changing the location, setting the font size, or using multiple columns. Add Text to Chart. This example shows how to add text to a chart, control the text position and size, and create multiline text. Greek Letters and Special Characters in Chart Text

  9. plot - MathWorks

    plot(tbl,xvar,yvar) plots the variables xvar and yvar from the table tbl. To plot one data set, specify one variable for xvar and one variable for yvar. To plot multiple data sets, specify multiple variables for xvar, yvar, or both. If both arguments specify multiple variables, they must specify the same number of variables.

  10. matlab - Data label on each entry in xy scatter - Stack Overflow

    Aug 17, 2011 · Auto-Label in scatter plot using matlab. 2. Labelling scatter data points. 4.

Refresh