Trendline Display and Linear regression

115 views (last 30 days)
SANDRA COSTA
SANDRA COSTA on 30 Apr 2020
Hello, I have a figure with 3 scatterplots and I wanted to add a trendline and the equation on each scatterplot. I've tries using the Tools>Basic Fitting fuction and it works but just for one graphs and when I try to do the same for the next graph, the trendline disappears from the initial graph. Also is there a way to add R^2 values? Here is a picture os my figure.
Thank you

Answers (1)

Kiran Felix Robert
Kiran Felix Robert on 5 Feb 2021

Categories

Find more on Discrete Data Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!