chart customization with interactive fitting

2 views (last 30 days)
Hi guys, just a curiosity.
Is it possible to customize the linear trend line obtained with the command "basic fitting" which is found in the chart's options?
Matlalb always represent it in a thin yellow line, i'd like for example to plot a dashed black line, without code, but maby it is impossible.
Thank you

Accepted Answer

Prudhvi Peddagoni
Prudhvi Peddagoni on 10 Mar 2021
You can generate the code to reproduce the output by following these instructions. You can edit the the plot style of the line as follows.
Hope this helps.

More Answers (0)


Find more on Data Distribution 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!