subplot response plots of regression models in the regression learner app

2 views (last 30 days)
Ameen Bassam
Ameen Bassam on 18 Jun 2021
Answered: Ameen Bassam on 21 Jun 2021
I am using the regression learner app to train a selection of different models on my data. I just want to plot the response plots of different models as subplots in one customized figure.
I know I can "Export plot to figure" but I can just edit this figure and save it. I don't want to save these figures individually and combine them later in one figure.
Can I export the figure data of each model and use it later to plot them combined in one figure using a "subplot" code?
  2 Comments
Ameen Bassam
Ameen Bassam on 21 Jun 2021
Many thanks for your effor as I couldn't find it before.
This answer could help.

Sign in to comment.

Accepted Answer

Ameen Bassam
Ameen Bassam on 21 Jun 2021
As @dpb mentioned, the trained model can be extracted to the workspace. Then, using the raw data and 'predictFcn' function, the predicted value can be available on the workspace. Finally, I can use my plot code to plot and supblot as much as I can with full flexibility.
Thanks again @dpb

More Answers (0)

Community Treasure Hunt

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

Start Hunting!