MATLAB: Does the Basic Fitting Tool have an option to choose the color of the fitted curves

basiccolorfittinglineMATLABtool

After plotting data in a MATLAB figure window, I would like to use the Basic Fitting Tool to plot a fit through the data in a contrasting color.
The colors of the fitted curves, however, seem to be fixed, and may coincide with the color of my data.
Can I change the color of the fitted curves, or do I have to change the color of my data?

Best Answer

The ability to change the color of a fitted curve is not available in the Basic Fitting Tool in MATLAB.
There are several work-arounds:
o Change the color of the lines using MATLAB Plot Tools, available at the top of the figure window.
o Change the color of the lines using the MATLAB SET command to change the COLOR property of the line object.
o Change the color of the data using the methods above.
o Change the color of the data when plotting.