About 923,000 results
Open links in new tab
  1. Input a variable into a plot title - MATLAB Answers - MathWorks

    Sep 10, 2014 · Input a variable into a plot title. Learn more about I've trawled through these forums and found loads on inputting variables as titles, however, none of them work for me.

  2. title - Add title - MATLAB - MathWorks

    Create a plot. Then create a title and a subtitle by calling the title function with two character vectors as arguments. Use the 'Color' name-value pair argument to customize the color for …

  3. How can I put a string variable into a Figure Title?

    May 14, 2020 · FILE_NAME = '1.A.A'; figure('Name', 'Figure 1') plot(X, Y, 'LineWidth', 1) title('FILE %s: X vs Y (dB Mag)', FILE_NAME) savefig('FILE %s: X vs Y.fig', FILE_NAME) I have a large …

  4. How can I create a Figure Title with a variable in it?

    May 29, 2019 · title(sprintf('Numbers at a depth of %.0f meters', DEPTH)) % For the figure name (not title): figure( 'Name' , sprintf( 'Numbers at a depth of %.0f meters' , DEPTH))

  5. How to enter variable names into plot title (R2019a)

    Oct 12, 2020 · I am trying to enter a variable name into my plot title and it keeps failing. I have been looking up examples that have worked previously but I think that it is different in this …

  6. How to print string or variable in plot title? - MATLAB Answers ...

    Feb 3, 2012 · I want to store it as a string to be used both to open that file -- e.g. importdata(fileToRead1) -- and to print later on in the title of a plot, e.g. title(y(x) vs x using …

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

    Title with Variable Value. Include a variable value in the title text by using the num2str function to convert the value to text. You can use a similar approach to add variable values to axis labels …

  8. Making a Title Based on a Variable Value - MATLAB - MathWorks

    Apr 24, 2009 · This short video shows how to convert variable values to strings. This is needed for making titles, xlabels, ylabels and other functions that expect a string for input. Recorded: 24 …

  9. How do I insert a variable into a graph title? - MATLAB Answers ...

    Jul 20, 2017 · How do I input into my graph title "plotting length(xvector) dipoles" where xvector length changes at the start of the code?

  10. Input a variable into a plot title - MATLAB Answers - MathWorks

    Input a variable into a plot title. Learn more about I've trawled through these forums and found loads on inputting variables as titles, however, none of them work for me.

  11. Some results have been removed
Refresh