is an option to visualization functions such as ListPlot and ListPlot3D that determines how to fit a model to the data.
PlotFit
is an option to visualization functions such as ListPlot and ListPlot3D that determines how to fit a model to the data.
Details
- PlotFit is used to fit a model to the data, resulting in an approximating curve or surface.
- PlotFitfit determines what method is used to fit a curve to the data.
- Possible settings for fit include:
-

Automatic automatically choose the fitting model 
"Linear" use linear regression 
"Quadratic" use a quadratic model 
"Cubic" use a cubic model 
"Exponential" use an exponential model 
"Local" use LocalModelFit 
"Kernel" use KernelModelFit 
model use the provided FittedModel
History
Text
Wolfram Research (2025), PlotFit, Wolfram Language function, https://reference.wolfram.com/language/ref/PlotFit.html.
CMS
Wolfram Language. 2025. "PlotFit." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/PlotFit.html.
APA
Wolfram Language. (2025). PlotFit. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PlotFit.html
BibTeX
@misc{reference.wolfram_2025_plotfit, author="Wolfram Research", title="{PlotFit}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/PlotFit.html}", note=[Accessed: 25-October-2025]}
BibLaTeX
@online{reference.wolfram_2025_plotfit, organization={Wolfram Research}, title={PlotFit}, year={2025}, url={https://reference.wolfram.com/language/ref/PlotFit.html}, note=[Accessed: 25-October-2025]}