To reproduce the behavior, perform the following steps:
1. Execute the following commands:
x_var = 1:10;y_var = x_var.^2 + x_var + 1 + rand(size(x_var));cftool
2. Click the "Data" button. Select the "X Data" to be "x_var", and set the "Y Data" to be "y_var". Click the "Create data set" button, and close the window.
3. Click the "Fitting" button. Click the "New Fit" button, click "Apply", then close the window.
4. Click the "Analysis" button. Select "Evaluate fit at Xi", and select "Plot data set: y_var vs. x_var". Click the "Apply" button.
You will observe that the "v"s in the legend appear to be subscript, as if the LaTeX interpreter is enabled, while the variable names appear in the title as if the LaTeX interpreter is disabled.
Best Answer