Exporting the plot in regression learner

1 Ansicht (letzte 30 Tage)
Balantrapu Sai harshit
Balantrapu Sai harshit am 14 Aug. 2020
Kommentiert: Adam Danz am 17 Aug. 2020
How to download the plots that we got in regression learner app after training our model in versionR2018a. Please help me with this answer fastly.
  2 Kommentare
Balantrapu Sai harshit
Balantrapu Sai harshit am 17 Aug. 2020
Thanks I got it
Adam Danz
Adam Danz am 17 Aug. 2020
Glad I could help!

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Adam Danz
Adam Danz am 14 Aug. 2020
Bearbeitet: Adam Danz am 14 Aug. 2020
Option 1
Export the figure from the Regression Learner App (red box below).
Option 2
Export the axes programmatically (tested in r2019b).
% Get the handle to the Regression Learner App
RLapp = findall(0,'Type','Figure','tag','MLearnAppTraceFigure');
% Get the handle to the axes with the data
RLax = findall(RLapp, 'Type', 'Axes','Tag', 'MLearnAppTraceAxes');
% Create a new figure
newfig = figure();
% Copy the app axes to the new figure
newAxes = copyobj(RLax,newfig);

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by